andywer / andywer/use-inline-memo
deps default to []
Aperta
enhancement
help wanted
question
- Lingua principale
- TypeScript
- Stelle
- 164
- Fork
- 3
- Merge medio
- 17h 56m
- PR unite (30g)
- 2
Descrizione
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!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.