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
Let’s go over the key concepts you learned in this stage.
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
So now,
whenever the user misspells a URL, or
0:00
navigates to a URL with no route,
the app renders the NotFound component.
0:03
To make our app more maintainable and
efficient,
0:08
we refactored parts of our code.
0:11
Since the HTML, CSS and JavaScript
components all shared the same behavior,
0:13
we created a CourseContainer component
that accepts the course data as a prop and
0:19
renders them.
0:25
We then learned how to declare dynamic
routes using special URL parameters.
0:26
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