andywer / andywer/use-inline-memo

deps default to []

オープン
#4 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement help wanted question
主要言語
TypeScript
スター
164
フォーク
3
平均マージ
17時間 56分
マージ済み PR(30日)
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。