本页还没有译文
本页 21 段还没译成日本語,下面显示的是英文原文。MemoryRouter
还没翻译译自英文(reactrouter.com)本页 21 段都还没译
MemoryRouter
Declarative
Summary
A declarative <Router> that stores all entries in memory.
Signature
function MemoryRouter({
basename,
children,
initialEntries,
initialIndex,
useTransitions,
}: MemoryRouterProps): React.ReactElementProps
basename
Application basename
children
Nested Route elements describing the route tree
initialEntries
Initial entries in the in-memory history stack
initialIndex
Index of initialEntries the application should initialize to
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.
AI 翻译查看英文原文