RouteStateinterface

{
	path?: AbsolutePath | undefined;
	readonly cache?: RouteState | undefined;
	readonly router?: true | undefined;
}
PropertyType
.pathAbsolutePath
Absolute path string starting with a / slash.
.cacheRouteState
The route state of one page, shared by <Router>, <RouteCache> and <RoutePath>. readonly
.routertrue
readonly

The route state of one page, shared by <Router>, <RouteCache> and <RoutePath>.

  • path is the template of the paths the page owns, set by <RoutePath>.
  • cache is the page's <RouteCache> entry, so <RoutePath> in a top-level page also tells the cache.
  • router marks a state made by <Router>, so a nested router does not pass the cache entry on.