Re:Things I wish I knew about state management when I starte...
by nohuhu on Monday February 10, 2020 @04:48PM
(#22293751)
Another way of doing controller stuff is by actually using a Controller: https://github.com/riptano/statium#viewcontroller. Example: https://github.com/nohuhu/react-statium-realworld-example-ap...
Logic flow doesn't have to be hard to do.
Personally, I don't see that as a huge problem. Better in an action than sprinkled into components. As someone else mentioned, redux-thunk makes this even easier (and one could argue, promotes this).