Suspense feature description ambiguity between release note and React API reference
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 11.8k
- 分支
- 7.9k
- 平均合併
- 1 天 11 小時
- 30 天內合併 PR
- 11
描述
On actual (v18.2.0) React API reference page (https://reactjs.org/docs/react-api.html) is written:
Today, lazy loading components is the only use case supported by <React.Suspense>:
and
In the future we plan to let Suspense handle more scenarios such as data fetching. You can read about this in our roadmap.
(also interesting that this link referring into React 16 Roadmap while we have 18 released.)
At the same time React 18 Release Page says that:
In React 18, you can start using Suspense for data fetching in opinionated frameworks like Relay, Next.js, Hydrogen, or Remix.
and looks like 'Suspense for data fetching' can be used and information in React API reference in outdated?
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
比較 reactjs.org/docs/react-api.html 上的 React API 參考文件與 React 18 發佈頁面中關於資料框架裡 Suspense 的段落。檢查 API 參考文件及其指向 React 16 路線圖的連結是否準確描述了支援的使用情境,然後更新相衝突的措辭,並確認兩個頁面仍保持一致。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, react
- 領域
- documentation
- Issue 類型
- 文件
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100