"Can I run an effect only on updates?"
オープン
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 11.8k
- フォーク
- 7.9k
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 11
説明
Hi React Team :)
After reading a first time the hooks documentation, I didn't find how to skip the first useEffect call at the initial mount. Fortunately Dan directed me to the paragraph "Can I run an effect only on updates?" from FAQ. :)
Maybe I was the first to feel a little bit confused with that. So I propose to either :
- This paragraph shouldn't be in the FAQ, because the documentation it's dense (that's a good thing, thanks for the job) and you'll probably not going to the FAQ after reading a first time.
(or) - This paragraph can stay in the FAQ, but we should add term like
componentDidMount, "avoid intial mount" to make search easier.
If the idea sounds good for you guys. I can suggest you a alternative text :)
Thank you again for your job :)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
“Can I run an effect only on updates?” というタイトルの FAQ の段落から始め、hooks のドキュメントと比較します。その段落を移動するべきか、componentDidMount や “avoid initial mount” などの検索語を追加するべきかを判断します。完了とは、選択したドキュメントの改善が明確に反映されていることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100