andywer / andywer/use-inline-memo

Question: will useInlineMemo clear useless caches after each rerender?

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
164
Forks
3
Avg merge
17h 56m
Merged PRs (30d)
2

Description

`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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.