@lynx-js/react / useCallback
useCallback will return a memoized version of the callback that only changes if one of the inputs
has changed.
| Type Parameter |
|---|
T extends Function |
| Parameter | Type |
|---|---|
callback | T |
deps | DependencyList |
T
16.8.0
https://react.dev/reference/react/useCallback
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:2062