本页还没有译文
本页 15 段还没译成简体中文,下面显示的是英文原文。StaticRouter
还没翻译译自英文(reactrouter.com)本页 15 段都还没译
StaticRouter
Declarative
Summary
A <Router> that may not navigate to any other Location.
This is useful on the server where there is no stateful UI.
Signature
function StaticRouter({
basename,
children,
location: locationProp = "/",
}: StaticRouterProps)Props
basename
The base URL for the static router (default: /)
children
The child elements to render inside the static router
location
The Location to render the static router at (default: /)
AI 翻译查看英文原文