Components

Route

Edit this page

Route 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.

proptypedescription
pathstringPath partial for defining the route segment
componentComponentComponent that will be rendered for the matched segment
matchFiltersMatchFiltersAdditional constraints for matching against the route
childrenJSX.ElementNested <Route> definitions
loadRouteLoadFuncFunction called during preload or when the route is navigated to.
Report an issue with this page