Need advice about which tool to choose?Ask the StackShare community!

MobX

750
516
+ 1
114
ng-state

4
11
+ 1
0
Add tool

MobX vs ng-state: What are the differences?

What is MobX? Simple, scalable state management. MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). React and MobX together are a powerful combination. React renders the application state by providing mechanisms to translate it into a tree of renderable components. MobX provides the mechanism to store and update the application state that React then uses.

What is ng-state? State management library for Angular applications. RxJS and ImmutableJs powered nested state management for Angular 2+ applications inspired by @ngrx/store. It is simple, fast, reliable with no boilerplate.

MobX and ng-state belong to "State Management Library" category of the tech stack.

MobX is an open source tool with 21.2K GitHub stars and 1.34K GitHub forks. Here's a link to MobX's open source repository on GitHub.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of MobX
Pros of ng-state
  • 26
    It's just stupidly simple, yet so magical
  • 18
    Easier and cleaner than Redux
  • 15
    Fast
  • 13
    Automagic updates
  • 13
    React integration
  • 10
    Computed properties
  • 8
    ES6 observers and obversables
  • 7
    Global stores
  • 3
    Flexible architecture the requeriment
  • 1
    Has own router package (mobx-router)
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of MobX
    Cons of ng-state
    • 1
      Maturity
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

      What is MobX?

      MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). React and MobX together are a powerful combination. React renders the application state by providing mechanisms to translate it into a tree of renderable components. MobX provides the mechanism to store and update the application state that React then uses.

      What is ng-state?

      RxJS and ImmutableJs powered nested state management for Angular 2+ applications inspired by @ngrx/store. It is simple, fast, reliable with no boilerplate.

      Need advice about which tool to choose?Ask the StackShare community!

      Jobs that mention MobX and ng-state as a desired skillset
      What companies use MobX?
      What companies use ng-state?
      Manage your open source components, licenses, and vulnerabilities
      Learn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with MobX?
      What tools integrate with ng-state?

      Blog Posts

      What are some alternatives to MobX and ng-state?
      Relay Framework
      Never again communicate with your data store using an imperative API. Simply declare your data requirements using GraphQL and let Relay figure out how and when to fetch your data.
      Knockout
      It is a JavaScript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying data model. Any time you have sections of UI that update dynamically (e.g., changing depending on the user’s actions or when an external data source changes), it can help you implement it more simply and maintainably.
      GraphQL Cache
      A custom middleware for graphql-ruby that handles key construction and cache reads/writes transparently.
      Flux
      Flux is the application architecture that Facebook uses for building client-side web applications. It complements React's composable view components by utilizing a unidirectional data flow. It's more of a pattern rather than a formal framework, and you can start using Flux immediately without a lot of new code.
      Apollo
      Build a universal GraphQL API on top of your existing REST APIs, so you can ship new application features fast without waiting on backend changes.
      See all alternatives