Skip to content

Commit b5e78f0

Browse files
committed
updates readme
1 parent a165d20 commit b5e78f0

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,27 @@ You need to have `node`and `npm`installed in your computer.
88

99
## Getting started:
1010

11-
`git clone git@github.com:leanjscom/thinking-in-react.git && cd thinking-in-react && yarn install && yarn start`
11+
`git clone git@github.com:leanjscom/thinking-in-react.git && cd thinking-in-react && npm install && npm start`
12+
13+
## Exercise
14+
15+
1- Refactor the “about” and “footer” sections by creating a stateless component for each. Make sure everything works.
16+
17+
18+
2- Refactor the navbar by creating a stateless component and pass the dependencies via props. Make sure everything works.
19+
20+
21+
3- Refactor the books section by creating a stateless component and pass the dependencies via props. Make sure everything works.
22+
23+
24+
4- Is there any state in app that should be in the Books component? Refactor <Books> books if appropriate. Should <Books> be a stateless component or a class now?
25+
26+
27+
5- Break <Books> down into <BookList> and <BookFilter>
28+
29+
30+
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 :)
31+
1232

1333
## License
1434

0 commit comments

Comments
 (0)