andywer / andywer/use-inline-memo
deps default to []
Ouverte
enhancement
help wanted
question
- Langage dominant
- TypeScript
- Étoiles
- 164
- Forks
- 3
- Merge moyen
- 17 h 56 min
- PR mergées (30 j)
- 2
Description
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!
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.