Need advice about which tool to choose?Ask the StackShare community!
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.
Pros of MobX
- It's just stupidly simple, yet so magical26
- Easier and cleaner than Redux18
- Fast15
- Automagic updates13
- React integration13
- Computed properties10
- ES6 observers and obversables8
- Global stores7
- Flexible architecture the requeriment3
- Has own router package (mobx-router)1
Pros of ng-state
Sign up to add or upvote prosMake informed product decisions
Cons of MobX
- Maturity1








