andywer / andywer/use-inline-memo
deps default to []
Đang mở
enhancement
help wanted
question
- Ngôn ngữ chính
- TypeScript
- Star
- 164
- Fork
- 3
- Merge trung bình
- 17 giờ 56 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
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!
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.