use-inline-memo icon indicating copy to clipboard operation
use-inline-memo copied to clipboard

Question: will useInlineMemo clear useless caches after each rerender?

Open zhaoyao91 opened this issue 5 years ago • 0 comments

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?

zhaoyao91 avatar Sep 07 '20 08:09 zhaoyao91