A <Router>
that may not navigate to any other Location
.
This is useful on the server where there is no stateful UI.
function StaticRouter({
basename,
children,
location: locationProp = "/",
}: StaticRouterProps)
The base URL for the static router (default: /
)
The child elements to render inside the static router
The Location
to render the static router at (default: /
)