use-inline-memo
use-inline-memo copied to clipboard
Question: will useInlineMemo clear useless caches after each rerender?
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 memo callbacks of each item with their ids, when some items were gone, will these callbacks get removed from the caches inside the memo object?