Synthetic Events: Document deviations from spec
未關閉
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 11.8k
- 分支
- 7.9k
- 平均合併
- 1 天 11 小時
- 30 天內合併 PR
- 11
描述
On the Synthetic Events page, I think there should be a Note whenever the React behavior deviates from the spec.
For example, onBlur bubbles. And, if I remember correctly from when I was studying rich-text editing, the onSelect event is also different from the selectDOM event?
Also, would it be overkill to put them in three-column tables, like this?
| Synthetic Event | DOM Event | Notes |
|---|---|---|
onBlur |
blur |
In contrast to the DOM event specification, onBlur will bubble. |
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 issue 中連結的 Synthetic Events 頁面開始,將提到的 onBlur 和 onSelect 行為與對應的 DOM 事件和規格進行比較。使用 Notes 更新頁面,描述已確認的差異;如果合適,使用建議的三欄版面配置;完成的標準是文件中的範例準確無誤,且頁面清楚地區分 React 行為與 DOM 行為。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, react
- 領域
- documentation
- Issue 類型
- 文件
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100