Design Patterns · Middle · Question 64 of 75
What is the state reducer pattern?
- ✓Correct answer: A component lets users pass a reducer that can modify its internal state changes - inversion of control
- 2Using Redux inside every component
- 3Reducing the amount of state
Explanation
For example, a dropdown can prevent closing on select without the library adding a new prop for every such case.