Module router

Module router 

Source
Expand description

Controller-driven shard routing primitives.

§Usage

Mount shard_home at the app shell root, then render router_outlet where the current shard page should appear.

Structs§

RouterController
Reactive navigation controller for one shard tree.
RouterDestinationHandle
Shared destination handle used by RouterController builders and shard_home.
ShardHomeBuilder
Builder returned by shard_home.
ShardState
Typed shard state handle.

Enums§

ShardStateLifeCycle
Describes the lifecycle of this shard state.

Traits§

RouterDestination
A navigation destination produced by the #[shard] macro.

Functions§

router_outlet
Render the current destination from the nearest shard home.
shard_home
shard_home