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

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Instrument, monitor, fix: a hands-on debugging session

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️