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

Rephrasing for clarity in `creating-a-stack-navigator`

未关闭
#614 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
324
派生
2k
PR 合并指标
30 天内没有已合并 PR

描述

https://reactnavigation.org/docs/en/hello-react-navigation.html#creating-a-stack-navigator

I believe that the following sentence is rather hard to parse as a reader

createAppContainer is a function that returns a React component to take as a parameter the React component created by the createStackNavigator, and can be directly exported from App.js to be used as our App's root component.

perhaps the following would make more sense?

createAppContainer is a function that takes the React component created by calling createStackNavigator and returns a component that can be directly exported from App.js to be used as our App's root component.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

打开链接的 React Navigation 文档 URL 中的 creating-a-stack-navigator 部分,并将当前句子与建议的改写进行比较。在保留原意的同时,更新句子以使语法更清晰。完成标准是该部分读起来通顺自然,并准确说明 createAppContainer、createStackNavigator 和 App.js 的作用。

由索引模型根据 Issue 内容生成。

评估

技术栈
react, react-native
领域
documentation
Issue 类型
文档
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。