A

Admin • 802.91K Points
Coach

Q. What does the useMemo hook do?

  • (A) Returns a memoized callback
  • (B) Returns a memoized value
  • (C) Returns a cleanup function
  • (D) Returns a component
  • Correct Answer - Option(B)
  • Views: 6
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin
useMemo returns a memoized value to optimize performance.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.