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§
- Router
Controller - Reactive navigation controller for one shard tree.
- Router
Destination Handle - Shared destination handle used by
RouterControllerbuilders andshard_home. - Shard
Home Builder - Builder returned by
shard_home. - Shard
State - Typed shard state handle.
Enums§
- Shard
State Life Cycle - Describes the lifecycle of this shard state.
Traits§
- Router
Destination - A navigation destination produced by the
#[shard]macro.
Functions§
- router_
outlet - Render the current destination from the nearest shard home.
- shard_
home - shard_home