A

Admin • 832.27K Points
Coach

Q. Which hook is used to manage state in functional components?

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

Explanation by: Admin
`useState` is the primary hook used for state management in functional components.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.