andywer / andywer/use-inline-memo
deps default to []
Abierto
enhancement
help wanted
question
- Lenguaje dominante
- TypeScript
- Estrellas
- 164
- Forks
- 3
- Merge medio
- 17 h 56 min
- PR fusionados (30 d)
- 2
Descripción
Awesome package. Seriously, it should be part of React core!
Suggestion:
Instead of:
`memo.textChange(event => setValue(event.target.value), [])`
accepts this:
`memo.textChange(event => setValue(event.target.value))`
Question: How can you measure that the overhead in memo is faster then a component rerender that justify the use of it?
Great work!
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.