Function Router

Source
pub fn Router<R, F, I>(props: RouterProps<R, F, I>) -> View
where R: Route + 'static, F: FnOnce(ReadSignal<R>) -> View + 'static, I: Integration + 'static,
Expand description

The sycamore router component. This component expects to be used inside a browser environment. For server environments, see StaticRouter.