pub fn router<R: Routable + Clone>(
init: impl FnOnce() -> RouterConfig<R>,
) -> impl IntoElementExpand description
A component that renders the current route.
pub fn router<R: Routable + Clone>(
init: impl FnOnce() -> RouterConfig<R>,
) -> impl IntoElementA component that renders the current route.