Back to Browse

React Hooks Tutorial - 24 - useCallback

68 views
Jun 19, 2023
18:04

The React useCallback Hook returns a memoized callback function. Think of memoization as caching a value so that it does not need to be recalculated. This allows us to isolate resource intensive functions so that they will not automatically run on every render. The useCallback Hook only runs when one of its dependencies update. This can improve performance.

Download

0 formats

No download links available.

React Hooks Tutorial - 24 - useCallback | NatokHD