The constructor for the RouterInstance class.
The config for the router instance.
The apply function for the router instance.
The apply function for the router instance.
The config for the router instance.
The current route for the router instance.
The handlers for the router instance.
The id of the router instance.
Whether the router instance is navigating.
The routes for the router instance.
Deregister a router instance by removing it from the registry and restoring the original history methods.
This is called when a router instance is removed from the DOM
triggered by the onDestroy lifecycle method of the router instance.
Optionalspan: SpanRetrieve a route for a given path.
The matched route for the given path.
Process a state change event from the browser history API.
This method is called when the browser history API is used to change the
current route via the pushState, replaceState, or popState methods.
The method will evaluate the route for the given path and query, and apply
the route to the router instance to ultimately call the applyFn function
on the downstream router component to render the new route.
Optionalspan: SpanCustom JSON serialization to handle Set objects properly.
The serializable representation of the router instance.
A class that represents a router instance.
Remarks
This class should rarely be used directly. Instead, use the
Routercomponent to create a new router instance.