As explained previously, everything in React is a component. React Router is no different. React Router provides a set of navigational components that'll collect data from the URL, viewport, and device information, in order to display the appropriate component.
There are three types of components in React Router:
- Router components
- Route matching components
- Navigation components