DEV Community

Cover image for COVID-19 react js & redux-saga
Mehrdad Arman
Mehrdad Arman

Posted on

COVID-19 react js & redux-saga

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)

Collapse
 
lexiebkm profile image
Alexander B.K.

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.

Collapse
 
december1990 profile image
december1990 • Edited

That was a great example on Redux-Saga, thank you

Collapse
 
mehrdadarman profile image
Mehrdad Arman

Tnq so much bro <3