andywer / andywer/use-inline-memo
Question: will useInlineMemo clear useless caches after each rerender?
Ouverte
- Langage dominant
- TypeScript
- Étoiles
- 164
- Forks
- 3
- Merge moyen
- 17 h 56 min
- PR mergées (30 j)
- 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?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.