Back to course

The useCallback Hook

React JS 0 to Hero: The Complete Guide

Stabilizing Functions

useCallback returns a memoized version of a callback function that only changes if its dependencies change. Essential when passing functions to memoized child components.