A

Admin • 828.03K Points
Coach

Q. Which hook should be used to avoid re-creating functions on every render?

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

Explanation by: Admin
useCallback returns a memoized version of a callback function.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.