React Advanced

21 lessons

Achievements
Combined Shape@2x

The Certificate

avatar

Router Components

React Router Components are spread out between the three main categories of the React Router. They are:

‣ routers (<HashRouter>, <BrowserRouter>)

‣ route matchers (<Route>, <Switch>)

‣ route navigation/changers (<Link>, <NavLink>, <Redirect>)

Note, these routers require importing from the react-router-dom that developers should have installed for working with React Routers. Follow the line of code below for the syntax.

We’ll be getting into each category and defining the most used router components in upcoming lessons.