MobX

MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). The philosophy behind MobX is very simple:

 

Anything that can be derived from the application state, should be derived. Automatically.

Okay.. but why should I learn this?

Redux Rant.

  • Switch statements.
  • Having to touch multiple files for actions vs constants vs reducers.
  • Verbosity of updating nested fields in a reducer.
  • Normalize your data.
  • Very hard to manage async actions (redux-thunk).
  • Lots of boilerplate..

Our App.

I'm not using decorators.

=

MobX

By Harris Robin Kalash