Add change vs input event description
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 11.8k
- 分支
- 7.9k
- 平均合併
- 1 天 11 小時
- 30 天內合併 PR
- 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.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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