pub fn Router<'a>(cx: Scope<'a, RouterProps<'a>>) -> Element<'_>
Expand description

A component that conditionally renders children based on the current location of the app.

Uses BrowserRouter in the browser and HashRouter everywhere else.

Will fallback to HashRouter is BrowserRouter is not available, or through configuration.