const memoProps: <F extends ArrowFunction>(
f: F,
shouldOrName?:
| (prevProps: Parameters<F>[0], nextArgs: Parameters<F>[0]) => boolean
| string,
name?: string,
) => F
Memoize a live function with 1 argument on its object props (shallow comparison per arg)
packages / live / src / hooks.ts