
RNR 175: State Management In React Native
React Native Radio
00:00
Redux - How to Handle Side Effects
Roxanne Jones: One big selling point of Redux at the time, I remember, was always like this time traveling thing. But implementing undo where your state is just scattered into like the, this object and that object is actually pretty tough. And then beyond that, you also have to think about side effects. Side effects are events that are outside of the main flow for your application's functionality. So you need some way to handle those side effects.Jones: We started with thunks but they lack a certain amount of power. There's not really a way to handle multiple things happening in kind of just flowing through. Like we're going to send out this, this API request and then
Transcript
Play full episode