Question: Why might you use useReducer over useState in a React component?

  1. when you want to replace Redux
  2. when you need to manage more complex state in an app
  3. when you want to improve performance
  4. when you want to break your production app

Answer: The correct answer of the above question is Option B:when you need to manage more complex state in an app