Learn Redux saga in 31 minutes
Learn Redux Saga the right way

Learn Redux saga in 31 minutes udemy course
Learn Redux Saga the right way
You might've used redux-thunk before to handle your data fetching. Contrary to redux thunk, you don't end up in callback hell, you can test your asynchronous flows easily and your actions stay pure. redux-saga is a library that aims to make application side effects (i.e. asynchronous things like data fetching and impure things like accessing the browser cache) easier to manage, more efficient to execute, easy to test, and better at handling failures. The mental model is that a saga is like a separate thread in your application that's solely responsible for side effects. redux-saga is a redux middleware, which means this thread can be started, paused and cancelled from the main application with normal redux actions, it has access to the full redux application state and it can dispatch redux actions as well.
This is a 31 minutes rigorous course to learn Redux and Redux Saga. It will re-inforce your foundation of React-Redux ecosystem. To make the most of this course, throughout the two hours, your complete attention and hardwork is required. Learning React is rewarding, join now!
Redux Saga is a library that helps you manage side effects in your React applications. Side effects are anything that affects the outside world, such as fetching data from an API, accessing the browser storage, or generating random numbers. Redux Saga uses generators, a special kind of functions that can be paused and resumed, to make your asynchronous code easier to read and test.
In this course, you will learn how to use Redux Saga to handle complex and concurrent tasks in your React apps. You will learn how to:
Install and configure Redux Saga in your project
Create and run sagas using the takeEvery, takeLatest, all, and race effects
Use the call, put, select, and delay effects to interact with the Redux store and other APIs
Test your sagas using Jest and redux-saga-test-plan
Handle errors and cancellations in your sagas
Implement common patterns such as authentication, polling, throttling, and debouncing
By the end of this course, you will have a solid understanding of how Redux Saga works and how to use it to create robust and scalable React applications.