andywer / andywer/use-inline-memo

Question: will useInlineMemo clear useless caches after each rerender?

Abierto
#8 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
164
Forks
3
Merge medio
17 h 56 min
PR fusionados (30 d)
2

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.