andywer / andywer/use-inline-memo
Question: will useInlineMemo clear useless caches after each rerender?
Offen
- Vorherrschende Sprache
- TypeScript
- Sterne
- 164
- Forks
- 3
- Ø Merge
- 17 Std. 56 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
`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?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.