pub fn shard_home() -> ShardHomeBuilderExpand description
§shard_home
Provide a router controller and render shard UI rooted at the active destination.
§Usage
Mount the root route for an app shell. On Android, system back pops one route and a predictive gesture previews the previous route. Android handles back at the root of the stack.
§Parameters
root— initial destination used whencontrolleris omittedcontroller— optional external router controller state
§Examples
use tessera_shard::shard_home;
shard_home().root(DemoDestination);