September 2018
Beginner
156 pages
3h 28m
English
When you look at the source code of React-Router, the <Route> component accepts the following props:
Route.propTypes = { computedMatch: PropTypes.object, // private, from <Switch> path: PropTypes.string, exact: PropTypes.bool, strict: PropTypes.bool, sensitive: PropTypes.bool, component: PropTypes.func, render: PropTypes.func, children: PropTypes.oneOfType([PropTypes.func, PropTypes.node]), location: PropTypes.object};
Let's take a look at each of these props in the following section.
Read now
Unlock full access