Tech Glossary

What is Redux-Saga?

Redux saga is a library for handling side effects in Redux applications. Side effects are things that happen in the application that are not directly related to changes in state, such as when retrieving data from a server or playing an audio file. Redux saga uses a generator function to create a sequence of steps to execute. This makes it possible to handle asynchronous events in a simple and structured way. There are several similar libraries, such as redux-thunk and redux-observable. Compared to these, redux saga is more flexible and easier to use.