MobX vs Redux vs NgRx

  • learn React and setState first
  • learning recommendation: setState -> MobX -> MobX more restricted (e.g. useStrict) -> Redux
  • use MobX in a smaller size & few developers project
  • use Redux in a bigger size & several developers / teams project
  • MobX over Redux: simple to use (magic), easy to start, less opinionated
  • Redux over MobX: clear constraints, state management architecture, best practices, universal state
  • container + presenter components is a valid pattern for both
  • react-redux and mobx-react are exchangeable interfaces to React container components
  • useStrict of MobX makes state changes more obvious in a scaling application

Screenshot (5525).png

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s