Skip to content

Commit 417f039

Browse files
authored
Update README.md
1 parent 99a9ad1 commit 417f039

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@ You need to have `node` and `npm` installed on your computer.
2929

3030
If you find the exercise too difficult we recommend you to do the following basic React course from [freeCodeCamp](https://learn.freecodecamp.org/front-end-libraries/react/) before.
3131

32-
## Getting started
33-
34-
```console
35-
git clone https://github.com/reactgraphqlacademy/thinking-in-react
36-
cd thinking-in-react
37-
yarn
38-
yarn start
39-
```
40-
4132
## 🥑 Before we start the exercise
4233

4334
Before you start, we are going to use the [useState hook](https://reactjs.org/docs/hooks-state.html) in this exercise.
@@ -61,6 +52,15 @@ function Example() {
6152

6253
The goal of this exercise is to understand what's state and how to reason about it. The goal of this exercise is not to learn how the useState hook works. How we store the state is an implementation detail. The principles you'll learn in this exercise can be applied to classes & this.setState, hooks, and some other state management libraries.
6354

55+
## Getting started
56+
57+
```console
58+
git clone https://github.com/reactgraphqlacademy/thinking-in-react
59+
cd thinking-in-react
60+
yarn
61+
yarn start
62+
```
63+
6464
## 🤸‍♀️ Exercise
6565

6666
- [ ] 1. Refactor the “about” and “footer” sections by creating a function component for each.

0 commit comments

Comments
 (0)