Skip to content

Commit 6dae8d3

Browse files
committed
Merge branch 'master' of github.com:leanjscom/thinking-in-react
2 parents e98c33b + 460ebf1 commit 6dae8d3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ https://learn.freecodecamp.org/front-end-libraries/react/) before.
2222

2323
## Exercise
2424

25-
Before you start, there are two types of components [Functional Components and Class Components](https://reactjs.org/docs/components-and-props.html#functional-and-class-components). Try to use a Functional component if the component doesn't have state, you'll need to refactor code a few times during the next exercise :)
25+
Before you start, there are two types of components [Functional Components and Class Components](https://reactjs.org/docs/components-and-props.html#function-and-class-components). Try to use a Functional component if the component doesn't have state, you'll need to refactor code a few times during the next exercise :)
2626

2727
### Tasks
2828

2929
1- Refactor the “about” and “footer” sections by creating a functional component for each. Make sure everything works.
3030

3131

32-
2- Refactor the navbar by creating a Functional Component (AKA stateless components) and pass the dependencies via props. Make sure everything works.
32+
2- Refactor the navbar by creating a Functional Component (AKA stateless components) and pass the dependencies (this.toggleMenu in this case) via props. Make sure everything works by clicking on the "Training" button at the top right of the screen.
3333

3434

3535
3- Refactor the books section by creating a functional component and pass the dependencies via props. Make sure everything works.
@@ -43,7 +43,7 @@ Before you start, there are two types of components [Functional Components and C
4343

4444
6- What do you think it would make sense to componentize next? Are there any parts on that view that you can reuse? Try to explain to a mentor what you want to refactor before you code :)
4545

46-
### Links
46+
## Articles and links
4747

4848
* [https://medium.com/leanjs/introduction-to-react-3000e9cbcd26](https://medium.com/leanjs/introduction-to-react-3000e9cbcd26)
4949
* Basic React course from [freeCodeCamp](

0 commit comments

Comments
 (0)