Question 5 of 10Pro Only
What is Redux middleware? Explain the difference between Redux Thunk and Redux Saga for handling side effects.
Sample answer preview
Redux middleware is code that runs between dispatching an action and when it reaches the reducer. It allows you to intercept, modify, delay, or cancel actions and execute side effects. A middleware follows a curried function pattern.
middlewarethunksagageneratorside effectscreateAsyncThunk