Redux Saga is a redux middleware that allows you to manage your side effects (for eg. reaching out to the network) just like Redux Thunk.
Redux Saga offers us a collection of helper functions that are used to spawn your tasks when some specific actions are dispatched. These can be used to help organize when and how your tasks are executed.
GitHub Link:https://github.com/MehrdadArman/covid19-redux-saga
Top comments (3)
I think we should try Redux Toolkit Query (RTKQ) as introduced in Redux tutorial : redux.js.org/tutorials/essentials/...
and covered more detail in RTK doc : redux-toolkit.js.org/rtk-query/ove...
It is the approach recommended by Redux, React-Redux team.
That was a great example on Redux-Saga, thank you
Tnq so much bro <3