react-navigation / react-navigation/react-navigation.github.io
Documentation for blocking navigation actions like back
未關閉
還沒有人認領這個 Issue。
help wanted
- 主要語言
- JavaScript
- 星號
- 324
- 分支
- 2k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
https://reactnavigation.org/docs/en/routers.html#blocking-navigation-actions - this is pretty barebones. One use case that came up was to fire a query when the user presses back and only complete that when the query is complete and the result matches some criteria. These docs don't say how to handle async
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從連結的「blocking-navigation-actions」部分的 routers 文件開始,檢視其中現有的說明。擴充該頁面,說明如何處理由返回操作觸發的非同步查詢,以及完成如何取決於結果符合條件;當這個使用案例和非同步行為都得到清楚記錄時,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, react, react-native
- 領域
- documentation
- Issue 類型
- 文件
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100