andywer/use-inline-memo

deps default to []

開放

#4 建立於 2019年8月31日

 (4 則留言) (0 個反應) (0 位負責人)TypeScript (3 個分叉)github user discovery
enhancementhelp wantedquestion

倉庫指標

星標
 (164 顆星)
PR 合併指標
 (平均合併 1天 2小時) (30 天內合併 2 個 PR)

描述

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!

貢獻者指南