useMemo
function`useMemo` will only recompute the memoized value when one of the `deps` has changed.
Import
import { useMemo } from '@modular/sdk/editor';Notes
- version
- 16.8.0
- see
- {@link https://react.dev/reference/react/useMemo}
`useMemo` will only recompute the memoized value when one of the `deps` has changed.