News for hackers. Stuff that matters.
Re:Idiomatic Redux: Implementation and Intent by CuriousSkeptic on Friday July 07, 2017 @08:48AM (#14717906)
Mobx vs redux is probably not the right comparison here though. Mobx comes bundled with 'computed' and encourages most state to be handled there.

Redux doesn't have this, instead libs like reselect fills space.

My experience with redux was frustrating in the way you explained, but once I "got" how to defer all state to reselect instead of trying to do things with reducers it got significantly simpler.

Re:Idiomatic Redux: Implementation and Intent by hesarenu on Friday July 07, 2017 @11:29AM (#14719116)
My frustration wrt redux was organising the file structure where to place actions reducers. Otherwise it was a joy to work with. I considered it very simple and easy to work until I found mobx.
Re:Idiomatic Redux: Implementation and Intent by acemarke on Friday July 07, 2017 @12:03PM (#14719469)
The two typical approaches are "file-type-first" (separate folders for "actions", "reducers", "containers", etc), and "feature-first". I've got articles discussing various React/Redux project structure approaches at https://github.com/markerikson/react-redux-links/blob/master... .
Re:Idiomatic Redux: Implementation and Intent by hesarenu on Friday July 07, 2017 @11:25PM (#14723900)
I have done both approaches, ducks, slight variation on ducks all running on production apps. Still not satisfied.

I have referred your links. Thank you btw.