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
In this video, you'll install React Router v6 and get to know the core components that keep your UI and URL in sync.
VS Code Shortcuts Used
-
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
It has separate packages available for
either web or native app development.
0:00
Since we're working on a React
web app that uses the DOM and
0:04
runs in a browser,
we'll need to install React Router DOM.
0:08
In my terminal, I'll stop running
the app by pressing Ctrl+C.
0:13
To install React Router DOM
as a dependency,
0:19
run the command npm i react-router-dom.
0:23
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