Redux vs. MobX vs. Cycle

 #javascript   #state   #library   #redux   #mobx   #cycle   #comparison 

2016-11-16

Three state management libraries for JavaScript: Redux, MobX and Cycle. Each described in terms of general ideology and significant differences from the others. All differences summarised in a table. First battle on Software Philosophy!

MobX

  • state propagation is a cross-cutting concern
  • state propagation is abstracted out to the framework
  • framework decorators are spread across whole app (everything is smart)
  • gentle learning curve when comming from OO programming
  • observable / computed distinction

References

  1. Becoming fully reactive: Mobservable,
  2. MobX best practices: React,
  3. Why we chose mobx over redux for spectacle editor,
  4. When Redux is better than MobX.

blog comments powered by Disqus