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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,13 @@ Before you start, there are two types of components [Functional Components and C
26
26
27
27
### Tasks
28
28
29
-
1- Refactor the “about” and “footer” sections by creating a stateless component for each. Make sure everything works.
29
+
1- Refactor the “about” and “footer” sections by creating a functional component for each. Make sure everything works.
30
30
31
31
32
-
2- Refactor the navbar by creating a stateless component 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 via props. Make sure everything works.
33
33
34
34
35
-
3- Refactor the books section by creating a stateless component and pass the dependencies via props. Make sure everything works.
35
+
3- Refactor the books section by creating a functional component and pass the dependencies via props. Make sure everything works.
36
36
37
37
38
38
4- Is there any state in app that should be in the Books component? Refactor <Books> books if appropriate. Should <Books> be a Functional Component or a Class Component now?
0 commit comments