Re:Things I wish I knew about state management when I starte...
by mpfundstein on Monday February 10, 2020 @03:40PM
(#22293027)
What about redux-thunk?
I usually put all me data fetching logic in thunjs and dispatch to regular actions if needed.
[ Parent
| on HN ]
Re:Things I wish I knew about state management when I starte...
by pier25 on Monday February 10, 2020 @06:28PM
(#22294523)
I haven't used it but AFAIK redux-thunk allows you add async middleware to redux. I don't see how adding more features to your store would alleviate the architectural problems I've mentioned. If anything it makes you store even a bigger protagonist in your application.