forked from reactjs/zh-hans.react.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(cn): translate tutorial to zh-cn (reactjs#12)
- Loading branch information
Showing
2 changed files
with
281 additions
and
281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,111 +1,111 @@ | ||
- title: Tutorial | ||
- title: 入门教程 | ||
items: | ||
- id: before-we-start-the-tutorial | ||
title: Before We Start the Tutorial | ||
title: 课前准备 | ||
href: /tutorial/tutorial.html#before-we-start-the-tutorial | ||
forceInternal: true | ||
subitems: | ||
- id: what-are-we-building | ||
title: What Are We Building? | ||
title: 我们会做出什么东西? | ||
href: /tutorial/tutorial.html#what-are-we-building | ||
forceInternal: true | ||
- id: prerequisites | ||
title: Prerequisites | ||
title: 前置知识 | ||
href: /tutorial/tutorial.html#prerequisites | ||
forceInternal: true | ||
- id: setup-for-the-tutorial | ||
title: Setup for the Tutorial | ||
title: 环境准备 | ||
href: /tutorial/tutorial.html#setup-for-the-tutorial | ||
forceInternal: true | ||
subitems: | ||
- id: setup-option-1-write-code-in-the-browser | ||
title: "Option 1: Write Code in the Browser" | ||
title: "方式一:在浏览器中编写代码" | ||
href: /tutorial/tutorial.html#setup-option-1-write-code-in-the-browser | ||
forceInternal: true | ||
- id: setup-option-2-local-development-environment | ||
title: "Option 2: Local Development Environment" | ||
title: "方式二:搭建本地开发环境" | ||
href: /tutorial/tutorial.html#setup-option-2-local-development-environment | ||
forceInternal: true | ||
- id: help-im-stuck | ||
title: Help, I'm Stuck! | ||
title: 寻求帮助 | ||
href: /tutorial/tutorial.html#help-im-stuck | ||
forceInternal: true | ||
- id: overview | ||
title: Overview | ||
title: 概览 | ||
href: /tutorial/tutorial.html#overview | ||
forceInternal: true | ||
subitems: | ||
- id: what-is-react | ||
title: What Is React? | ||
title: React 是什么? | ||
href: /tutorial/tutorial.html#what-is-react | ||
forceInternal: true | ||
- id: inspecting-the-starter-code | ||
title: Inspecting the Starter Code | ||
title: 阅读初始代码 | ||
href: /tutorial/tutorial.html#inspecting-the-starter-code | ||
forceInternal: true | ||
- id: passing-data-through-props | ||
title: Passing Data Through Props | ||
title: 通过 Props 传递数据 | ||
href: /tutorial/tutorial.html#passing-data-through-props | ||
forceInternal: true | ||
- id: making-an-interactive-component | ||
title: Making an Interactive Component | ||
title: 给组件添加交互功能 | ||
href: /tutorial/tutorial.html#making-an-interactive-component | ||
forceInternal: true | ||
- id: developer-tools | ||
title: Developer Tools | ||
title: 开发者工具 | ||
href: /tutorial/tutorial.html#developer-tools | ||
forceInternal: true | ||
- id: completing-the-game | ||
title: Completing the Game | ||
title: 游戏完善 | ||
href: /tutorial/tutorial.html#completing-the-game | ||
forceInternal: true | ||
subitems: | ||
- id: lifting-state-up | ||
title: Lifting State Up | ||
title: 状态提升 | ||
href: /tutorial/tutorial.html#lifting-state-up | ||
forceInternal: true | ||
- id: why-immutability-is-important | ||
title: Why Immutability Is Important | ||
title: 为什么不可变性在 React 中非常重要 | ||
href: /tutorial/tutorial.html#why-immutability-is-important | ||
forceInternal: true | ||
- id: function-components | ||
title: Function Components | ||
title: 函数式组件 | ||
href: /tutorial/tutorial.html#function-components | ||
forceInternal: true | ||
- id: taking-turns | ||
title: Taking Turns | ||
title: 轮流落子 | ||
href: /tutorial/tutorial.html#taking-turns | ||
forceInternal: true | ||
- id: declaring-a-winner | ||
title: Declaring a Winner | ||
title: 判断出胜者 | ||
href: /tutorial/tutorial.html#declaring-a-winner | ||
forceInternal: true | ||
- id: adding-time-travel | ||
title: Adding Time Travel | ||
title: 时间旅行 | ||
href: /tutorial/tutorial.html#adding-time-travel | ||
forceInternal: true | ||
subitems: | ||
- id: storing-a-history-of-moves | ||
title: Storing a History of Moves | ||
title: 保存历史记录 | ||
href: /tutorial/tutorial.html#storing-a-history-of-moves | ||
forceInternal: true | ||
- id: lifting-state-up-again | ||
title: Lifting State Up, Again | ||
title: 再次提升状态 | ||
href: /tutorial/tutorial.html#lifting-state-up-again | ||
forceInternal: true | ||
- id: showing-the-past-moves | ||
title: Showing the Past Moves | ||
title: 展示历史步骤记录 | ||
href: /tutorial/tutorial.html#showing-the-past-moves | ||
forceInternal: true | ||
- id: picking-a-key | ||
title: Picking a Key | ||
title: 选择一个 key | ||
href: /tutorial/tutorial.html#picking-a-key | ||
forceInternal: true | ||
- id: implementing-time-travel | ||
title: Implementing Time Travel | ||
title: 实现时间旅行 | ||
href: /tutorial/tutorial.html#implementing-time-travel | ||
forceInternal: true | ||
- id: wrapping-up | ||
title: Wrapping Up | ||
title: 总结 | ||
href: /tutorial/tutorial.html#wrapping-up | ||
forceInternal: true |
Oops, something went wrong.