State Management · Middle · Question 18 of 75
What does configureStore check in development mode?
- ✓Correct answer: Accidental state mutations and non-serializable values in state and actions
- 2That every reducer has unit tests
- 3That actions are dispatched no more than once per frame
Explanation
The immutability and serializability middleware catch bugs early: a mutation outside Immer or a Date/class instance/promise in the store. They're removed in production builds.