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... .
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.