Function sycamore_router::Router
source · [−]pub fn Router<'a, G: Html, R, F, I>(
cx: Scope<'a>,
props: RouterProps<'a, R, F, I, G>
) -> View<G> where
R: Route + 'a,
F: FnOnce(Scope<'a>, &'a ReadSignal<R>) -> View<G> + 'a,
I: Integration + 'static,
Expand description
The sycamore router component. This component expects to be used inside a browser environment.
For server environments, see StaticRouter
.