You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
0 commit comments