本页还没有译文
本页 19 段还没译成简体中文,下面显示的是英文原文。HashRouter
还没翻译译自英文(reactrouter.com)本页 19 段都还没译
HashRouter
Declarative
Summary
A declarative <Router> that stores the location in the
hash portion
of the URL so it is not sent to the server.
Signature
function HashRouter({
basename,
children,
useTransitions,
window,
}: HashRouterProps)Props
basename
Application basename
children
<Route> components describing your route configuration
useTransitions
Control whether router state updates are internally wrapped in
React.startTransition.
- When left
undefined, all router state updates are wrapped inReact.startTransition - When set to
true,LinkandFormnavigations will be wrapped inReact.startTransitionand all router state updates are wrapped inReact.startTransition - When set to
false, the router will not leverageReact.startTransitionon any navigations or state changes.
For more information, please see the docs.
window
Window object
override. Defaults to the global window instance
AI 翻译查看英文原文