The constructor for this router instance.
The config for this router instance.
Optional
baseThe base path for the router instance.
Optional
childrenThe children for the router instance.
Optional
hooksHooks to be run before and after the routes are rendered at the router level (independent of the route hooks if applicable).
Optional
idThe id for the router instance.
Optional
initialThe initial path for the router instance.
Optional
notThe not found component for the router instance.
Optional
renavigationWhether to allow the same route to be rendered if the conditions are the same (taking in to account the path, query, and status code).
The routes for the router instance.
Optional
statusesThe default components rendered when a route is not found and the status code is in one of the following: 400, 401, 403, 404, 500
The configuration for a new router instance.
Remarks
This class should rarely be used directly. Instead, use the
Router
component to create a new router instance.