react-navigation / react-navigation/react-navigation.github.io
Code samples don't match up what's with on Snack sample
未關閉
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 324
- 分支
- 2k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
The following code snippet here:
https://reactnavigation.org/docs/modal
under create modal stack - does not match with the code snippet on the linked snack example:
For example, the following line in the docs:
function RootStackScreen() {
return (
<RootStack.Navigator mode="modal">
<RootStack.Screen
name="Main"
component={MainStackScreen}
options={{ headerShown: false }}
/>
<RootStack.Screen name="MyModal" component={ModalScreen} />
</RootStack.Navigator>
);
}
does not exist in the Snack example. It should probably reflect the same code so as not to be confusing to new users.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
將 reactnavigation.org/docs/modal 中的 modal 頁面與連結的 Snack 範例及其來源 URL 進行比較。首先檢查建立 modal stack 的程式碼片段是否與 Snack 程式碼一致;當文件和範例展示相同的實作,或清楚說明任何刻意的差異時,即可視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, react, react-native
- 領域
- documentation
- Issue 類型
- 文件
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100