content/tutorial/nav.yml (111 lines of code) (raw):
- title: 入门教程
items:
- id: before-we-start-the-tutorial
title: 课前准备
href: /tutorial/tutorial.html#before-we-start-the-tutorial
forceInternal: true
subitems:
- id: what-are-we-building
title: 我们会做出什么东西?
href: /tutorial/tutorial.html#what-are-we-building
forceInternal: true
- id: prerequisites
title: 前置知识
href: /tutorial/tutorial.html#prerequisites
forceInternal: true
- id: 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: "方式一:在浏览器中编写代码"
href: /tutorial/tutorial.html#setup-option-1-write-code-in-the-browser
forceInternal: true
- id: setup-option-2-local-development-environment
title: "方式二:搭建本地开发环境"
href: /tutorial/tutorial.html#setup-option-2-local-development-environment
forceInternal: true
- id: help-im-stuck
title: 寻求帮助
href: /tutorial/tutorial.html#help-im-stuck
forceInternal: true
- id: overview
title: 概览
href: /tutorial/tutorial.html#overview
forceInternal: true
subitems:
- id: what-is-react
title: React 是什么?
href: /tutorial/tutorial.html#what-is-react
forceInternal: true
- id: inspecting-the-starter-code
title: 阅读初始代码
href: /tutorial/tutorial.html#inspecting-the-starter-code
forceInternal: true
- id: passing-data-through-props
title: 通过 Props 传递数据
href: /tutorial/tutorial.html#passing-data-through-props
forceInternal: true
- id: making-an-interactive-component
title: 给组件添加交互功能
href: /tutorial/tutorial.html#making-an-interactive-component
forceInternal: true
- id: developer-tools
title: 开发者工具
href: /tutorial/tutorial.html#developer-tools
forceInternal: true
- id: completing-the-game
title: 游戏完善
href: /tutorial/tutorial.html#completing-the-game
forceInternal: true
subitems:
- id: lifting-state-up
title: 状态提升
href: /tutorial/tutorial.html#lifting-state-up
forceInternal: true
- id: why-immutability-is-important
title: 为什么不可变性在 React 中非常重要
href: /tutorial/tutorial.html#why-immutability-is-important
forceInternal: true
- id: function-components
title: 函数式组件
href: /tutorial/tutorial.html#function-components
forceInternal: true
- id: taking-turns
title: 轮流落子
href: /tutorial/tutorial.html#taking-turns
forceInternal: true
- id: declaring-a-winner
title: 判断出胜者
href: /tutorial/tutorial.html#declaring-a-winner
forceInternal: true
- id: adding-time-travel
title: 时间旅行
href: /tutorial/tutorial.html#adding-time-travel
forceInternal: true
subitems:
- id: storing-a-history-of-moves
title: 保存历史记录
href: /tutorial/tutorial.html#storing-a-history-of-moves
forceInternal: true
- id: lifting-state-up-again
title: 再次提升状态
href: /tutorial/tutorial.html#lifting-state-up-again
forceInternal: true
- id: showing-the-past-moves
title: 展示历史步骤记录
href: /tutorial/tutorial.html#showing-the-past-moves
forceInternal: true
- id: picking-a-key
title: 选择一个 key
href: /tutorial/tutorial.html#picking-a-key
forceInternal: true
- id: implementing-time-travel
title: 实现时间旅行
href: /tutorial/tutorial.html#implementing-time-travel
forceInternal: true
- id: wrapping-up
title: 总结
href: /tutorial/tutorial.html#wrapping-up
forceInternal: true