Optional
fallbackA default fallback route which will always be matched if none of the routes match. Implicitly matches to the path "/*".
The current parsed route parameters.
Moves back one route in the session history.
A fallback route which will be used if the session history is empty.
Navigates to the specified route.
The route to navigate.
Value indicating whether to add the route to the session history.
Resolves when the router has navigated to the specified route.
Returns a URL string of the current route, including parent routes,
optionally replacing the local path with pathname
.
Optional
pathname: stringRegisters a function that will be invoked whenever the navigate
event is triggered.
The event handler to register.
This instance.
The result of calling the current route's render() callback.
Performs location-based routing using a configuration of URL patterns and associated render callbacks.