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: /
)