scrimba
The Frontend Developer Career Path
React Router 6
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

React Router 6

This playlist is part of The Frontend Developer Career Path

React Router 6

87 lessons6 hours 30 min

1. Introduction to React Router 6
2:54
2. Multi-page vs single-page apps
5:13
3. React Router Setup & BrowserRouter
3:12
4. Routes
2:40
5. BrowserRouter & Routes challenge
1:06
6. Route, path, & element
4:12
7. Quick Re-org
1:01
8. Link
3:59
9. VanLife project bootstrapping
8:03
10. Initial Deploy to Netlify
11:41
11. Mirage JS Server
1:50
12. Challenge: Vans Page - Part 1
2:14
13. Challenge: Vans Page - Part 2
9:06
14. Route Params - part 1
4:12
15. Route Params - part 2
1:46
16. A11y Update - wrapping complex content in a link
5:48
17. Route Params part 3.1 - useParams() & challenge
4:53
18. Route Params part 3.2 - useParams() challenge
7:10
19. Route Params Quiz
4:15
20. Nested Routes Intro
8:52
21. Fixing the Navbar with a Layout Route
4:52
22. Fixing the Navbar with a Layout Route part 2
7:42
23. Bootstrap the Host pages
3:57
24. Nesting the /host routes
3:45
25. Creating the Host Layout
6:27
26. Relative Paths
4:25
27. Index Routes
3:48
28. To nest or not to nest?
5:06
29. Nested Routes Quiz
4:48
30. Add Footer
3:18
31. NavLink
7:12
32. Active Link Styling with NavLink
3:52
33. Active Link Styling with NavLink - part 2
5:12
34. Adding Host Vans Routes
5:11
35. 🔀 Optional Side Quest - Building out the Host Vans List and Detail Pages
3:18
36. Building out the Host Van Detail page
8:54
37. Relative Links
7:01
38. Back to all vans
5:13
39. Add /host/vans/:id Nested Routes
8:06
40. Add the Final Navbar!
6:33
41. Outlet Context
5:30
42. Search Params Intro
7:16
43. useSearchParams
4:03
44. Challenge: Set up search params in VanLife
4:41
45. Filter the array w/ the search param
5:04
46. Challenge: Filter the vans in VanLife
1:41
47. Using Links to add search params
2:51
48. Challenge: Filter the vans with Links
3:12
49. Using the search params setter function
3:31
50. Challenge: Filter the vans with a setter function
2:30
51. Caveats to setting params
1:30
52. Merging search params with Links
6:09
53. Merging search params with the setSearchParams function
5:19
54. Challenge: Conditional rendering practice
4:39
55. Fix remaining absolute paths
1:50
56. Back to all vans
2:12
57. Link state
6:29
58. useLocation
7:59
59. Challenge: conditionally render the back button text
2:47
60. 404 Page
5:48
61. "Happy Path" vs. "Sad Path" (new)
2:32
62. Quick update to our fetching code
2:57
63. Coding the Sad Path - Loading state (new)
3:22
64. Coding the Sad Path - Error handling
5:59
65. Update: Accessibility Addition
1:29
66. Initial Login Form
1:50
67. Note from the future: importing image assets in Vite
2:47
68. Protected Routes Intro (FDCP)
1:48
69. Protected Routes - AuthRequired Layout Route (FDCP)
3:10
70. Protected Routes - Implementing "auth" (FDCP)
2:25
71. Protected Routes - Navigate (FDCP)
5:34
72. VanLife Protected Routes (FDCP)
3:25
73. Protected Routes Quiz
1:39
74. Navigation State (FDCP)
5:22
75. Setup for authentication - happy path (FDCP)
3:31
76. Authentication setup - sad path (FDCP)
7:28
77. Navigate to /host route after login (FDCP)
2:14
78. History Stack and Replace (FDCP)
5:30
79. Challenge - send user to original page
7:33
80. Placeholders are gone! 🎉
2:10
81. Cloud Firestore Setup 🔥
6:04
82. Cloud Firestore Code Setup
4:03
83. Collection ref and getVans() function
6:50
84. Create getVan function
3:53
85. Refactor getHostVans function
3:22
86. Final loose ends
1:34
87. Outro
3:09