Home
>
Hooks
> useCallback(fn)
useCallback(fn)
const
memoizedFn
=
useCallback
(()
=>
{
},
[
dep1
,
dep2
]);