Let's Fight: Redux side effects showdown
Full Stack Toronto 2018
Even in today's world, handling asynchronous tasks is hard. There are several ways to handle them, but is there a single best way? <br /> Redux is the preferred state management pattern in React apps today. The idea of a reducer is for it to be a pure function hence we cannot manage asynchronous side effect tasks there. We will talk about what side effects are, how to make your asynchronous calls easier to manage and handle using Redux thunks, observables, and sagas. Along with the common scenarios, we will also dive into a few complex ones such as cancelation, debouncing and parallel requests as well. We will take a login form example to go over each option and battle them to see who wins. I will also talk about a couple of projects where I used each pattern and my experience using them.