Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed React Router v6 Basics!
You have completed React Router v6 Basics!
Preview
You can render a Route component anywhere you need one, including deep within the component tree of another Route component. OR you can nest Route components inside one another.
VS Code Shortcuts Used
-
Multiple Selections - VS Code
- Mac:
Cmd+Shift+L - Windows:
Ctrl+Shift+L - Linux:
Ctrl+Shift+L
- Mac:
-
Format Document - VS Code
- Mac:
Option+Shift+F - Windows:
Alt+Shift+F - Linux:
Ctrl+Shift+I
- Mac:
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
In the app, when you click over to
Courses you should be able to click
0:00
on a sub navigation link and see the list
of courses for that topic, like this.
0:02
We need to create the route for the HTML,
0:09
CSS, and
JavaScript Course List components.
0:12
In React Router, you can render route
components anywhere in your app.
0:15
Since we want the HTML, CSS, and
JavaScript course list to appear
0:21
in the courses component Let's
create the routes in Courses.js.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up