andywer/use-inline-memo

deps default to []

オープン

#4 opened on 2019/08/31

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (3 件のフォーク)github user discovery
enhancementhelp wantedquestion

Repository metrics

Stars
 (164 個のスター)
PR merge metrics
 (平均マージ 1d 2h) (30d で 2 merged PRs)

説明

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!

コントリビューターガイド