use-inline-memo
use-inline-memo copied to clipboard
⚛️ React hook for memoizing values inline anywhere in a component
Heya, nice project! Just wanted to check if and how this library can be used to memoize components inline, e.g.: ```typescript const Row = memo((props) => { const { isLoadingRowAction,...
`userInlineMemo` is great for static inline memos, but how about dynamic items with random id? Say, user create and delete items with random ids, if I use this lib to...
see https://ahooks.js.org/hooks/advanced/use-persist-fn `userPersistFn` is very useful to replace `useCallback`. It would be greate to integrate such ability into this library
Awesome package. Seriously, it should be part of React core! Suggestion: Instead of: `memo.textChange(event => setValue(event.target.value), [])` accepts this: `memo.textChange(event => setValue(event.target.value))` Question: How can you measure that the overhead...