RouteStateinterface
{
path?: AbsolutePath | undefined;
readonly cache?: RouteState | undefined;
readonly router?: true | undefined;
}| Property | Type | |
|---|---|---|
.path | AbsolutePath | Absolute path string starting with a / slash. |
.cache | RouteState | The route state of one page, shared by <Router>, <RouteCache> and <RoutePath>. readonly |
.router | true | readonly |
The route state of one page, shared by <Router>, <RouteCache> and <RoutePath>.
pathis the template of the paths the page owns, set by<RoutePath>.cacheis the page's<RouteCache>entry, so<RoutePath>in a top-level page also tells the cache.routermarks a state made by<Router>, so a nested router does not pass the cache entry on.