A

Admin • 833.24K Points
Coach

Q. Which hook allows you to share logic between components?

  • (A) useShared
  • (B) useGlobal
  • (C) Custom Hooks
  • (D) useEffect
  • Correct Answer - Option(C)
  • Views: 26
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin

Custom hooks let you reuse stateful logic across components.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.