A

Admin • 833K Points
Coach

Q. Which hook is used to manage complex state logic in React?

  • (A) useState
  • (B) useReducer
  • (C) useMemo
  • (D) useContext
  • Correct Answer - Option(B)
  • Views: 29
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin

useReducer is ideal for managing complex state transitions.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.