Video: Default Props
React For Everyone
Released: 2020-10-01
-
1. Introduction
1m9s
-
2. Getting Started
9m21s
-
3. Understanding Components
9m30s
-
4. What Are Props?
5m50s
-
5. Default Props
7m54s
-
6. State In Components with useState
12m39s
-
7. Conditional Rendering
11m7s
-
8. Controlled Inputs
15m14s
-
9. React DevTools
7m34s
-
10. Looping In React
10m46s
-
11. Basic Filtering with State
9m18s
-
12. Component Creation Flow
12m43s
-
13. PropTypes
9m20s
-
14. Refs
10m8s
-
15. useEffect 101
12m4s
-
16. Hitting an API
16m59s
-
17. Images and CSS
20m21s
-
18. React Router v5
9m48s
-
19. Routes with Params
9m23s
-
20. Loading Data From Params
13m9s
-
21. Detail Page CSS
14m13s
-
22. DotEnv
8m10s
-
23. React Frameworks
4m50s
-
24. Class Components
3m47s
-
25. Where To Go From Here
1m18s
Default Props
Now that we understand how props work, we will take a look at default props. Default props are a default value that we can give our props in case a value is not given.