reactjs / reactjs/react.dev

Add change vs input event description

オープン
#619 コメント 1 件 リアクション 5 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
11.8k
フォーク
7.9k
平均マージ
1日 11時間
マージ済み PR(30日)
11

説明

The Synthetic Events docs for form events points to the Forms doc page as a reference for onChange, onInput, onInvalid, and onSubmit, but the Form page does not go into any detail about these events, and more importantly, how React's change and input events differ from the DOM events of the same name.

It appears a small note used to exist in the Form doc, but has been removed.

A short note about the change event exists in the DOM Elements doc. This was not an obvious place to look to for this information to me, and it does not address the input event. At the very least, this should probably be link to in the Synthetic Events doc, if no other changes are made.

I would like to see a more thorough description of the change and input events and when to use them in the Form doc.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

IssueでリンクされているSynthetic Events form-eventsセクション、Forms documentation、DOM Elements onChangeセクションから始めます。現在のカバレッジを、Issueで求められているReactのchangeイベントとinputイベントの区別と比較し、以前の文言については参照されているpull requestを確認します。Forms documentationで両方のイベントとそれらをいつ使うべきかが説明されているか、その説明に明確にリンクされていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, react
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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