News for hackers. Stuff that matters.
Re:Introducing Hooks by Aeolun on Saturday October 27, 2018 @07:55PM (#18318353)
I think you need to use sagas for either all your logic, or none of it. Having it half/half just means you’re always searching for where something is located.

That said, thanks for the recommendations! I’ll check them out.

Re:Introducing Hooks by acemarke on Saturday October 27, 2018 @09:25PM (#18318651)
FWIW, I use sagas _and_ thunks in my own app, depending on what it is I need to do.

Also related, the new Redux FAQ entry on choosing between async middlewares: https://redux.js.org/faq/actions#what-async-middleware-shoul...