Image for post
Image for post

Redux-Saga is just a redux middleware library, that handles side effects in your application by leveraging an ES6 features called Generators. You can write asynchronous code that looks synchronous.

Don’t worry if you don’t know anything about Generators. A generator function is like a book: you read a few pages, you close the book, and when you open it again, you will resume from the page you left off.

So far, you may have used redux-thunk for handling side-effects. What I like about sagas is that you can write clean and easy to understand code. …


Mihai Moraru

Full-Stack Software Developer (React/Node) @ Betfair Romania Development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store