This course will be retired on October 1, 2023. We recommend "React Router v6 Basics" for up-to-date content.
Using the Match Object3:33 with Guil Hernandez
match object contains information about how a route is matching the URL. We can access this data from inside components being rendered by
<Route>. In this video, we'll use
match to dynamically match
<NavLink> to the current URL and path.
You need to sign up for Treehouse in order to download course files.Sign up