A declarative <Router> that stores the location in the
hash portion
of the URL so it is not sent to the server.
function HashRouter({
basename,
children,
unstable_useTransitions,
window,
}: HashRouterProps)
Application basename
<Route> components describing your route configuration
Control whether router state updates are internally wrapped in
React.startTransition.
undefined, all router state updates are wrapped in
React.startTransitiontrue, Link and Form navigations will be wrapped
in React.startTransition and all router state updates are wrapped in
React.startTransitionfalse, the router will not leverage React.startTransition
on any navigations or state changes.For more information, please see the docs.
Window object
override. Defaults to the global window instance