Question 9/15
intermediate
Select one answer

What is the difference between useMemo and useCallback?

They are exactly the same
useMemo caches the result/return value, useCallback caches the function itself
useMemo is for async, useCallback is for sync
useCallback is deprecated

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.