Route
Edit this pageRoute
is the component used when defining the routes of an application.
This component is used to define the structure of the application and the components that will be rendered for each route.
prop | type | description |
---|---|---|
path | string | Path partial for defining the route segment |
component | Component | Component that will be rendered for the matched segment |
matchFilters | MatchFilters | Additional constraints for matching against the route |
children | JSX.Element | Nested <Route> definitions |
load | RouteLoadFunc | Function called during preload or when the route is navigated to. |