A

Admin • 802.91K Points
Coach

Q. Which hook allows sharing logic between components in React?

  • (A) useCallback
  • (B) useState
  • (C) Custom hooks
  • (D) useEffect
  • Correct Answer - Option(C)
  • Views: 7
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin
Custom hooks allow you to extract and reuse logic between components.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.