Generates a route resolver for a given component.
In addition to regular route resolver functionality:
When a route change results in a changed key, a full page rerender occurs. This method can be overriden in subclasses to prevent rerenders on some route changes.
A method which selects which component to render based on conditional logic.
Returns the component class, and not a Vnode or JSX expression.
https://mithril.js.org/route.html#routeresolveronmatch
A function which renders the provided component.
If not specified, the route will default to rendering the component on its own, inside of a fragment.
Returns a Mithril Vnode or other children.
https://mithril.js.org/route.html#routeresolverrender
Generated using TypeDoc v0.24.8
Generates a route resolver for a given component.
In addition to regular route resolver functionality: