[Typo]: editing `serverUrl` in the sandbox as directed does not cause the Effect to re-synchronize
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 11.8k
- フォーク
- 7.9k
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 11
説明
Summary
These two sentences at https://react.dev/learn/lifecycle-of-reactive-effects#how-react-verifies-that-your-effect-can-re-synchronize don't make sense for the given example.
For example, try editing the
serverUrlin the sandbox above while the chat is open. Notice how the Effect re-synchronizes in response to your edits to the code.
Page
Details
In that sandbox example, serverUrl is not a reactive value.
Editing its value in the sandbox does not cause the Effect to re-synchronize.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
React ドキュメントのリンク先のセクションから始め、chat の例の sandbox を調べます。特に、serverUrl がどのように定義され、変更されるかを確認してください。指示と観察された動作を比較し、その後、Effect がいつ再同期するのかを正確に説明するように 2 つの文を修正してください。リンク先のページでは、sandbox で実証できない主張をしないようにしてください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 静か
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 68/100