4 ms·
What about redux-thunk? I usually put all me data fetching logic in thunjs and dispatch to regular actions if needed.
by mpfundstein 7y ago
What about redux-thunk?
I usually put all me data fetching logic in thunjs and dispatch to regular actions if needed.
- pier25 7y agoI 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.