andywer / andywer/use-inline-memo
deps default to []
未关闭
enhancement
help wanted
question
- 主要语言
- TypeScript
- 星标
- 164
- 派生
- 3
- 平均合并
- 17 小时 56 分钟
- 30 天内合并 PR
- 2
描述
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!
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。