At this point, you know how to build and render frontend components with React. Now it’s time to learn about frontend routing so that you can connect specific components to render at specific URL paths. After reading and practicing, you should be able to:
react-router-dom
package to set up React Router in your applications<Route>
component from the react-router-dom
package<Link>
and <NavLink>
components from the react-router-dom
package<Switch>
routes and manage the order of rendered componentsmatch
prop to access router parametershistory
prop to programmatically change the browser’s URL<Redirect>
component in a route