Question 1 of 10

When should you use useReducer instead of useState? Explain with a concrete example.