News for hackers. Stuff that matters.
Re:MobX – Simple, scalable state management for React by Klathmon on Saturday August 27, 2016 @11:08AM (#12372650)
Personally I found that using redux for everything ends up spreading a ton of boilerplate everywhere. Action creators, reducer, the dumb component itself, the HOC.

All that adds up and is a lot of work for a simple component.

We ended up going with a hybrid setup. Our components are all dumb, and our "pages" are the only connected components. We also started using ducks[1] instead of spreading the reducer/actions everywhere whenever it makes sense.

[1] https://github.com/erikras/ducks-modular-redux

There are no comments on this comment yet.