← React Intermediate Questions - Set 9 Q89

What is `useCallback` in React?

React Intermediate Questions - Set 9

Example

const onSearch = useCallback(q => search(q), []);

What to notice

← Back to the question list