react-navigation / react-navigation/react-navigation.github.io

Clarify the example in # Navigation actions are handled by current navigator and bubble up if couldn't be handled

未關閉
#730 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
JavaScript
星號
324
分支
2k
PR 合併指標
30 天內沒有已合併 PR

描述

https://reactnavigation.org/docs/nesting-navigators/#navigation-actions-are-handled-by-current-navigator-and-bubble-up-if-couldnt-be-handled

In the above example, when calling navigate('Settings'), inside Profile screen, the nested stack navigator will handle it, but if you call navigate('Home'), the parent tab navigator will handle it.

This example doesn't sound right to me but not sure how to correct it.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先閱讀連結的 navigation-actions 區段和引用的範例。將所述的 navigate('Settings') 和 navigate('Home') 行為與周圍關於巢狀結構的文件進行比較;當範例清楚且準確地說明每個動作由哪個 navigator 處理時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
react, react-native
領域
documentation
Issue 類型
文件
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。