✓ The useCallback Hook is used to memoize a callback function.
✓ The useCallback function only re-executes when one of its dependencies changes value.
✓ The useCallback and useMemo Hooks are similar:
◾ useMemo returns a memoized value.
◾ useCallback returns a memoized function.
Top comments (2)
what an effort , this blog is really helped me to improve my knowledge , and communication skill, especially third subheading was increased my confident level as a developer, i am very lucky to see this blog , i willing to put this link in my whatsapp status.
what an elaborated explanation..got to know better about useCallback after reading this blog