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