Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Beta]: docs(cn): translate beta/src/pages/learn/your-first-component.md into Chinese #641

Merged
merged 5 commits into from
May 30, 2022

Conversation

fine-bot
Copy link
Contributor

@fine-bot fine-bot commented Nov 4, 2021

No description provided.

@fine-bot
Copy link
Contributor Author

fine-bot commented Nov 4, 2021

@QC-L

Copy link
Contributor

@nmsn nmsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

补充了一些个人感觉更好理解的表达

beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
Copy link
Contributor

@nmsn nmsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

加了一些让语句顺畅的话,替换了一些结合上下文更好理解的翻译

beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
beta/src/pages/learn/your-first-component.md Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented May 29, 2022

Size Changes

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

One Hundred Eighty-nine Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/ 48.42 KB (🟡 +6 B) 133 KB
/404 47.22 KB (🟡 +6 B) 131.79 KB
/apis 48.01 KB (🟡 +6 B) 132.58 KB
/apis/createcontext 49.76 KB (🟡 +6 B) 134.33 KB
/apis/reactdom 47.95 KB (🟡 +6 B) 132.52 KB
/apis/render 50.5 KB (🟡 +6 B) 135.08 KB
/apis/usecontext 55.72 KB (🟡 +6 B) 140.29 KB
/apis/usereducer 55.35 KB (🟡 +6 B) 139.92 KB
/apis/useref 53.06 KB (🟡 +6 B) 137.63 KB
/apis/usestate 58.98 KB (🟡 +6 B) 143.55 KB
/blog 40.48 KB (🟡 +6 B) 125.05 KB
/blog/2013/06/02/jsfiddle-integration 58.16 KB (🟡 +6 B) 142.73 KB
/blog/2013/06/05/why-react 60.25 KB (🟡 +6 B) 144.83 KB
/blog/2013/06/12/community-roundup 59.46 KB (🟡 +6 B) 144.04 KB
/blog/2013/06/19/community-roundup-2 60.12 KB (🟡 +6 B) 144.7 KB
/blog/2013/06/21/react-v0-3-3 58.18 KB (🟡 +6 B) 142.75 KB
/blog/2013/06/27/community-roundup-3 60.5 KB (🟡 +6 B) 145.07 KB
/blog/2013/07/02/react-v0-4-autobind-by-default 58.79 KB (🟡 +6 B) 143.37 KB
/blog/2013/07/03/community-roundup-4 59.86 KB (🟡 +6 B) 144.44 KB
/blog/2013/07/11/react-v0-4-prop-validation-and-default-values 58.67 KB (🟡 +6 B) 143.24 KB
/blog/2013/07/17/react-v0-4-0 59.38 KB (🟡 +6 B) 143.95 KB
/blog/2013/07/23/community-roundup-5 60.25 KB (🟡 +6 B) 144.83 KB
/blog/2013/07/26/react-v0-4-1 58.14 KB (🟡 +6 B) 142.72 KB
/blog/2013/07/30/use-react-and-jsx-in-ruby-on-rails 58.74 KB (🟡 +6 B) 143.31 KB
/blog/2013/08/05/community-roundup-6 59.55 KB (🟡 +6 B) 144.13 KB
/blog/2013/08/19/use-react-and-jsx-in-python-applications 59.05 KB (🟡 +6 B) 143.63 KB
/blog/2013/08/26/community-roundup-7 59.72 KB (🟡 +6 B) 144.29 KB
/blog/2013/09/24/community-roundup-8 61.15 KB (🟡 +6 B) 145.73 KB
/blog/2013/10/03/community-roundup-9 60.09 KB (🟡 +6 B) 144.66 KB
/blog/2013/10/16/react-v0.5.0 59.77 KB (🟡 +6 B) 144.35 KB
/blog/2013/10/29/react-v0-5-1 58.13 KB (🟡 +6 B) 142.71 KB
/blog/2013/11/06/community-roundup-10 61.75 KB (🟡 +6 B) 146.32 KB
/blog/2013/11/18/community-roundup-11 60.83 KB (🟡 +6 B) 145.4 KB
/blog/2013/12/18/react-v0.5.2-v0.4.2 58.61 KB (🟡 +6 B) 143.18 KB
/blog/2013/12/19/react-v0.8.0 59.03 KB (🟡 +6 B) 143.6 KB
/blog/2013/12/23/community-roundup-12 60.48 KB (🟡 +6 B) 145.06 KB
/blog/2013/12/30/community-roundup-13 60.26 KB (🟡 +6 B) 144.84 KB
/blog/2014/01/02/react-chrome-developer-tools 58.52 KB (🟡 +6 B) 143.1 KB
/blog/2014/01/06/community-roundup-14 59.86 KB (🟡 +6 B) 144.43 KB
/blog/2014/02/05/community-roundup-15 61.08 KB (🟡 +6 B) 145.65 KB
/blog/2014/02/15/community-roundup-16 60.79 KB (🟡 +6 B) 145.36 KB
/blog/2014/02/16/react-v0.9-rc1 61.19 KB (🟡 +6 B) 145.77 KB
/blog/2014/02/20/react-v0.9 61.64 KB (🟡 +6 B) 146.21 KB
/blog/2014/02/24/community-roundup-17 60.5 KB (🟡 +6 B) 145.08 KB
/blog/2014/03/14/community-roundup-18 61.47 KB (🟡 +6 B) 146.04 KB
/blog/2014/03/19/react-v0.10-rc1 59.78 KB (🟡 +6 B) 144.35 KB
/blog/2014/03/21/react-v0.10 59.8 KB (🟡 +6 B) 144.38 KB
/blog/2014/03/28/the-road-to-1.0 59.91 KB (🟡 +6 B) 144.49 KB
/blog/2014/04/04/reactnet 58.56 KB (🟡 +6 B) 143.13 KB
/blog/2014/05/06/flux 58.68 KB (🟡 +6 B) 143.25 KB
/blog/2014/05/29/one-year-of-open-source-react 58.9 KB (🟡 +6 B) 143.48 KB
/blog/2014/06/27/community-roundup-19 60.45 KB (🟡 +6 B) 145.02 KB
/blog/2014/07/13/react-v0.11-rc1 60.83 KB (🟡 +6 B) 145.41 KB
/blog/2014/07/17/react-v0.11 62.09 KB (🟡 +6 B) 146.66 KB
/blog/2014/07/25/react-v0.11.1 59.04 KB (🟡 +6 B) 143.61 KB
/blog/2014/07/28/community-roundup-20 60.59 KB (🟡 +6 B) 145.17 KB
/blog/2014/07/30/flux-actions-and-the-dispatcher 60.22 KB (🟡 +6 B) 144.8 KB
/blog/2014/08/03/community-roundup-21 60.26 KB (🟡 +6 B) 144.83 KB
/blog/2014/09/03/introducing-the-jsx-specification 58.26 KB (🟡 +6 B) 142.83 KB
/blog/2014/09/12/community-round-up-22 60.74 KB (🟡 +6 B) 145.31 KB
/blog/2014/09/16/react-v0.11.2 59.04 KB (🟡 +6 B) 143.61 KB
/blog/2014/09/24/testing-flux-applications 62.21 KB (🟡 +6 B) 146.79 KB
/blog/2014/10/14/introducing-react-elements 61.17 KB (🟡 +6 B) 145.74 KB
/blog/2014/10/16/react-v0.12-rc1 61.14 KB (🟡 +6 B) 145.71 KB
/blog/2014/10/17/community-roundup-23 61.71 KB (🟡 +6 B) 146.28 KB
/blog/2014/10/27/react-js-conf 58.31 KB (🟡 +6 B) 142.88 KB
/blog/2014/10/28/react-v0.12 61.08 KB (🟡 +6 B) 145.65 KB
/blog/2014/11/24/react-js-conf-updates 58.69 KB (🟡 +6 B) 143.27 KB
/blog/2014/11/25/community-roundup-24 61.93 KB (🟡 +6 B) 146.51 KB
/blog/2014/12/18/react-v0.12.2 58.72 KB (🟡 +6 B) 143.3 KB
/blog/2014/12/19/react-js-conf-diversity-scholarship 59.12 KB (🟡 +6 B) 143.69 KB
/blog/2015/01/27/react-v0.13.0-beta-1 60.09 KB (🟡 +6 B) 144.66 KB
/blog/2015/02/18/react-conf-roundup-2015 62.07 KB (🟡 +6 B) 146.64 KB
/blog/2015/02/20/introducing-relay-and-graphql 61.22 KB (🟡 +6 B) 145.8 KB
/blog/2015/02/24/react-v0.13-rc1 60.12 KB (🟡 +6 B) 144.7 KB
/blog/2015/02/24/streamlining-react-elements 62.68 KB (🟡 +6 B) 147.25 KB
/blog/2015/03/03/react-v0.13-rc2 59.46 KB (🟡 +6 B) 144.03 KB
/blog/2015/03/04/community-roundup-25 60.42 KB (🟡 +6 B) 144.99 KB
/blog/2015/03/10/react-v0.13 60.74 KB (🟡 +6 B) 145.31 KB
/blog/2015/03/16/react-v0.13.1 58.56 KB (🟡 +6 B) 143.13 KB
/blog/2015/03/19/building-the-facebook-news-feed-with-relay 61.32 KB (🟡 +6 B) 145.89 KB
/blog/2015/03/26/introducing-react-native 58.45 KB (🟡 +6 B) 143.03 KB
/blog/2015/03/30/community-roundup-26 60.38 KB (🟡 +6 B) 144.96 KB
/blog/2015/04/17/react-native-v0.4 59.3 KB (🟡 +6 B) 143.87 KB
/blog/2015/04/18/react-v0.13.2 58.64 KB (🟡 +6 B) 143.21 KB
/blog/2015/05/01/graphql-introduction 63.13 KB (🟡 +6 B) 147.7 KB
/blog/2015/05/08/react-v0.13.3 58.52 KB (🟡 +6 B) 143.1 KB
/blog/2015/05/22/react-native-release-process 58.68 KB (🟡 +6 B) 143.25 KB
/blog/2015/06/12/deprecating-jstransform-and-react-tools 59.13 KB (🟡 +6 B) 143.7 KB
/blog/2015/07/03/react-v0.14-beta-1 60.64 KB (🟡 +6 B) 145.21 KB
/blog/2015/08/03/new-react-devtools-beta 59.24 KB (🟡 +6 B) 143.81 KB
/blog/2015/08/11/relay-technical-preview 59.3 KB (🟡 +6 B) 143.88 KB
/blog/2015/08/13/reacteurope-roundup 60.89 KB (🟡 +6 B) 145.47 KB
/blog/2015/09/02/new-react-developer-tools 58.65 KB (🟡 +6 B) 143.23 KB
/blog/2015/09/10/react-v0.14-rc1 64.34 KB (🟡 +6 B) 148.92 KB
/blog/2015/09/14/community-roundup-27 60.82 KB (🟡 +6 B) 145.39 KB
/blog/2015/10/01/react-render-and-top-level-api 59.79 KB (🟡 +6 B) 144.36 KB
/blog/2015/10/07/react-v0.14 64.83 KB (🟡 +6 B) 149.4 KB
/blog/2015/10/19/reactiflux-is-moving-to-discord 60.54 KB (🟡 +6 B) 145.12 KB
/blog/2015/10/28/react-v0.14.1 58.55 KB (🟡 +6 B) 143.12 KB
/blog/2015/11/02/react-v0.14.2 58.58 KB (🟡 +6 B) 143.15 KB
/blog/2015/11/18/react-v0.14.3 58.7 KB (🟡 +6 B) 143.28 KB
/blog/2015/12/04/react-js-conf-2016-diversity-scholarship 59.58 KB (🟡 +6 B) 144.15 KB
/blog/2015/12/16/ismounted-antipattern 59.17 KB (🟡 +6 B) 143.75 KB
/blog/2015/12/18/react-components-elements-and-instances 64.19 KB (🟡 +6 B) 148.76 KB
/blog/2015/12/29/react-v0.14.4 58.37 KB (🟡 +6 B) 142.95 KB
/blog/2016/01/08/A-implies-B-does-not-imply-B-implies-A 59.39 KB (🟡 +6 B) 143.96 KB
/blog/2016/01/12/discontinuing-ie8-support 58.35 KB (🟡 +6 B) 142.92 KB
/blog/2016/02/19/new-versioning-scheme 59.58 KB (🟡 +6 B) 144.15 KB
/blog/2016/03/07/react-v15-rc1 62.33 KB (🟡 +6 B) 146.9 KB
/blog/2016/03/16/react-v15-rc2 59.19 KB (🟡 +6 B) 143.77 KB
/blog/2016/03/29/react-v0.14.8 58.33 KB (🟡 +6 B) 142.9 KB
/blog/2016/04/07/react-v15 66.52 KB (🟡 +6 B) 151.09 KB
/blog/2016/04/08/react-v15.0.1 59.08 KB (🟡 +6 B) 143.66 KB
/blog/2016/07/11/introducing-reacts-error-code-system 59.04 KB (🟡 +6 B) 143.61 KB
/blog/2016/07/13/mixins-considered-harmful 66.95 KB (🟡 +6 B) 151.52 KB
/blog/2016/07/22/create-apps-with-no-configuration 62.28 KB (🟡 +6 B) 146.85 KB
/blog/2016/08/05/relay-state-of-the-state 62.32 KB (🟡 +6 B) 146.89 KB
/blog/2016/09/28/our-first-50000-stars 63.76 KB (🟡 +6 B) 148.34 KB
/blog/2016/11/16/react-v15.4.0 61.71 KB (🟡 +6 B) 146.29 KB
/blog/2017/04/07/react-v15.5.0 62.28 KB (🟡 +6 B) 146.86 KB
/blog/2017/05/18/whats-new-in-create-react-app 61.68 KB (🟡 +6 B) 146.25 KB
/blog/2017/06/13/react-v15.6.0 60.3 KB (🟡 +6 B) 144.87 KB
/blog/2017/07/26/error-handling-in-react-16 60.65 KB (🟡 +6 B) 145.22 KB
/blog/2017/09/08/dom-attributes-in-react-16 61.08 KB (🟡 +6 B) 145.65 KB
/blog/2017/09/25/react-v15.6.2 59.41 KB (🟡 +6 B) 143.99 KB
/blog/2017/09/26/react-v16.0 64.54 KB (🟡 +6 B) 149.12 KB
/blog/2017/11/28/react-v16.2.0-fragment-support 62.48 KB (🟡 +6 B) 147.05 KB
/blog/2017/12/07/introducing-the-react-rfc-process 59 KB (🟡 +6 B) 143.57 KB
/blog/2017/12/15/improving-the-repository-infrastructure 74.78 KB (🟡 +6 B) 159.36 KB
/blog/2018/03/01/sneak-peek-beyond-react-16 58.95 KB (🟡 +6 B) 143.53 KB
/blog/2018/03/27/update-on-async-rendering 65.01 KB (🟡 +6 B) 149.58 KB
/blog/2018/03/29/react-v-16-3 61.01 KB (🟡 +6 B) 145.59 KB
/blog/2018/05/23/react-v-16-4 61.15 KB (🟡 +6 B) 145.73 KB
/blog/2018/06/07/you-probably-dont-need-derived-state 65.46 KB (🟡 +6 B) 150.04 KB
/blog/2018/08/01/react-v-16-4-2 59.8 KB (🟡 +6 B) 144.38 KB
/blog/2018/09/10/introducing-the-react-profiler 62.15 KB (🟡 +6 B) 146.73 KB
/blog/2018/10/01/create-react-app-v2 62.45 KB (🟡 +6 B) 147.02 KB
/blog/2018/10/23/react-v-16-6 61.65 KB (🟡 +6 B) 146.23 KB
/blog/2018/11/13/react-conf-recap 59.15 KB (🟡 +6 B) 143.72 KB
/blog/2018/11/27/react-16-roadmap 66.26 KB (🟡 +6 B) 150.84 KB
/blog/2018/12/19/react-v-16-7 60.33 KB (🟡 +6 B) 144.91 KB
/blog/2019/02/06/react-v16.8.0 63 KB (🟡 +6 B) 147.57 KB
/blog/2019/02/23/is-react-translated-yet 61.75 KB (🟡 +6 B) 146.33 KB
/blog/2019/08/08/react-v16.9.0 65.96 KB (🟡 +6 B) 150.53 KB
/blog/2019/08/15/new-react-devtools 59.68 KB (🟡 +6 B) 144.25 KB
/blog/2019/10/22/react-release-channels 61.75 KB (🟡 +6 B) 146.33 KB
/blog/2019/11/06/building-great-user-experiences-with-concurrent-mode-and-suspense 65.81 KB (🟡 +6 B) 150.39 KB
/blog/2020/02/26/react-v16.13.0 62.72 KB (🟡 +6 B) 147.3 KB
/blog/2020/08/10/react-v17-rc 70.33 KB (🟡 +6 B) 154.91 KB
/blog/all 56.5 KB (🟡 +6 B) 141.07 KB
/community 48.02 KB (🟡 +6 B) 132.6 KB
/community/acknowledgements 49.23 KB (🟡 +6 B) 133.8 KB
/community/meet-the-team 50.25 KB (🟡 +6 B) 134.82 KB
/learn 53.83 KB (🟡 +6 B) 138.41 KB
/learn/add-react-to-a-website 54.05 KB (🟡 +6 B) 138.63 KB
/learn/adding-interactivity 54.46 KB (🟡 +6 B) 139.04 KB
/learn/choosing-the-state-structure 60.18 KB (🟡 +6 B) 144.75 KB
/learn/conditional-rendering 52.41 KB (🟡 +6 B) 136.99 KB
/learn/describing-the-ui 52.38 KB (🟡 +6 B) 136.96 KB
/learn/editor-setup 49.5 KB (🟡 +6 B) 134.08 KB
/learn/escape-hatches 47.14 KB (🟡 +6 B) 131.72 KB
/learn/extracting-state-logic-into-a-reducer 59.72 KB (🟡 +6 B) 144.29 KB
/learn/importing-and-exporting-components 50.81 KB (🟡 +6 B) 135.38 KB
/learn/installation 48.78 KB (🟡 +6 B) 133.36 KB
/learn/javascript-in-jsx-with-curly-braces 50.88 KB (🟡 +6 B) 135.46 KB
/learn/keeping-components-pure 56.35 KB (🟡 +6 B) 140.92 KB
/learn/managing-state 54.58 KB (🟡 +6 B) 139.15 KB
/learn/manipulating-the-dom-with-refs 55.99 KB (🟡 +6 B) 140.56 KB
/learn/passing-data-deeply-with-context 55.54 KB (🟡 +6 B) 140.12 KB
/learn/passing-props-to-a-component 54.59 KB (🟡 +6 B) 139.16 KB
/learn/preserving-and-resetting-state 60.43 KB (🟡 +6 B) 145.01 KB
/learn/queueing-a-series-of-state-updates 52.39 KB (🟡 +6 B) 136.96 KB
/learn/react-developer-tools 48.64 KB (🟡 +6 B) 133.21 KB
/learn/reacting-to-input-with-state 56.99 KB (🟡 +6 B) 141.57 KB
/learn/referencing-values-with-refs 53.9 KB (🟡 +6 B) 138.48 KB
/learn/render-and-commit 51.74 KB (🟡 +6 B) 136.31 KB
/learn/rendering-lists 54.97 KB (🟡 +6 B) 139.55 KB
/learn/responding-to-events 54.95 KB (🟡 +6 B) 139.52 KB
/learn/scaling-up-with-reducer-and-context 52.62 KB (🟡 +6 B) 137.19 KB
/learn/sharing-state-between-components 53.03 KB (🟡 +6 B) 137.61 KB
/learn/start-a-new-react-project 50.1 KB (🟡 +6 B) 134.68 KB
/learn/state-a-components-memory 58.11 KB (🟡 +6 B) 142.68 KB
/learn/state-as-a-snapshot 51.68 KB (🟡 +6 B) 136.26 KB
/learn/thinking-in-react 54.77 KB (🟡 +6 B) 139.34 KB
/learn/updating-arrays-in-state 55.98 KB (🟡 +6 B) 140.56 KB
/learn/updating-objects-in-state 55.71 KB (🟡 +6 B) 140.29 KB
/learn/writing-markup-with-jsx 52.06 KB (🟡 +6 B) 136.63 KB
/learn/your-first-component 52.55 KB (🟡 +861 B) 137.13 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 10% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants