Skip to content

Commit 4d575e7

Browse files
jblang94gaearon
authored andcommitted
Improve tutorial.md's clarity and structure (reactjs#649)
* Improve tutorial.md's clarity and structure * Fix typos and make additional changes to tutorial.md * edits * moar changes
1 parent 61a8b62 commit 4d575e7

File tree

2 files changed

+277
-191
lines changed

2 files changed

+277
-191
lines changed

content/tutorial/nav.yml

Lines changed: 48 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,30 @@
11
- title: Tutorial
22
items:
3-
- id: before-we-start
4-
title: Before We Start
5-
href: /tutorial/tutorial.html#before-we-start
3+
- id: before-we-start-the-tutorial
4+
title: Before We Start the Tutorial
5+
href: /tutorial/tutorial.html#before-we-start-the-tutorial
66
forceInternal: true
77
subitems:
88
- id: what-were-building
9-
title: What We're Building
10-
href: /tutorial/tutorial.html#what-were-building
9+
title: What Are We Building?
10+
href: /tutorial/tutorial.html#what-are-we-building
1111
forceInternal: true
1212
- id: prerequisites
1313
title: Prerequisites
1414
href: /tutorial/tutorial.html#prerequisites
1515
forceInternal: true
16-
- id: how-to-follow-along
17-
title: How to Follow Along
18-
href: /tutorial/tutorial.html#how-to-follow-along
16+
- id: setup-for-the-tutorial
17+
title: Setup for the Tutorial
18+
href: /tutorial/tutorial.html#setup-for-the-tutorial
19+
forceInternal: true
20+
subitems:
21+
- id: setup-option-1-write-code-in-the-browser
22+
title: "Option 1: Write Code in the Browser"
23+
href: /tutorial/tutorial.html#setup-option-1-write-code-in-the-browser
24+
forceInternal: true
25+
- id: setup-option-2-local-development-environment
26+
title: "Option 2: Local Development Environment"
27+
href: /tutorial/tutorial.html#setup-option-2-local-development-environment
1928
forceInternal: true
2029
- id: help-im-stuck
2130
title: Help, I'm Stuck!
@@ -27,30 +36,34 @@
2736
forceInternal: true
2837
subitems:
2938
- id: what-is-react
30-
title: What is React?
39+
title: What Is React?
3140
href: /tutorial/tutorial.html#what-is-react
3241
forceInternal: true
33-
- id: getting-started
34-
title: Getting Started
35-
href: /tutorial/tutorial.html#getting-started
42+
- id: inspecting-the-starter-code
43+
title: Inspecting the Starter Code
44+
href: /tutorial/tutorial.html#inspecting-the-starter-code
3645
forceInternal: true
3746
- id: passing-data-through-props
3847
title: Passing Data Through Props
3948
href: /tutorial/tutorial.html#passing-data-through-props
4049
forceInternal: true
41-
- id: an-interactive-component
42-
title: An Interactive Component
43-
href: /tutorial/tutorial.html#an-interactive-component
50+
- id: making-an-interactive-component
51+
title: Making an Interactive Component
52+
href: /tutorial/tutorial.html#making-an-interactive-component
4453
forceInternal: true
4554
- id: developer-tools
4655
title: Developer Tools
4756
href: /tutorial/tutorial.html#developer-tools
4857
forceInternal: true
49-
- id: lifting-state-up
50-
title: Lifting State Up
51-
href: /tutorial/tutorial.html#lifting-state-up
58+
- id: completing-the-game
59+
title: Completing the Game
60+
href: /tutorial/tutorial.html#completing-the-game
5261
forceInternal: true
5362
subitems:
63+
- id: lifting-state-up
64+
title: Lifting State Up
65+
href: /tutorial/tutorial.html#lifting-state-up
66+
forceInternal: true
5467
- id: why-immutability-is-important
5568
title: Why Immutability Is Important
5669
href: /tutorial/tutorial.html#why-immutability-is-important
@@ -67,18 +80,26 @@
6780
title: Declaring a Winner
6881
href: /tutorial/tutorial.html#declaring-a-winner
6982
forceInternal: true
70-
- id: storing-a-history
71-
title: Storing A History
72-
href: /tutorial/tutorial.html#storing-a-history
83+
- id: adding-time-travel
84+
title: Adding Time Travel
85+
href: /tutorial/tutorial.html#adding-time-travel
7386
forceInternal: true
7487
subitems:
75-
- id: showing-the-moves
76-
title: Showing the Moves
77-
href: /tutorial/tutorial.html#showing-the-moves
88+
- id: storing-a-history-of-moves
89+
title: Storing a History of Moves
90+
href: /tutorial/tutorial.html#storing-a-history-of-moves
91+
forceInternal: true
92+
- id: lifting-state-up-again
93+
title: Lifting State Up, Again
94+
href: /tutorial/tutorial.html#lifting-state-up-again
95+
forceInternal: true
96+
- id: showing-the-past-moves
97+
title: Showing the Past Moves
98+
href: /tutorial/tutorial.html#showing-the-past-moves
7899
forceInternal: true
79-
- id: keys
80-
title: Keys
81-
href: /tutorial/tutorial.html#keys
100+
- id: picking-a-key
101+
title: Picking a Key
102+
href: /tutorial/tutorial.html#picking-a-key
82103
forceInternal: true
83104
- id: implementing-time-travel
84105
title: Implementing Time Travel

0 commit comments

Comments
 (0)