本页还没有译文
本页 15 段还没译成한국어,下面显示的是英文原文。ServerRouter
还没翻译译自英文(reactrouter.com)本页 15 段都还没译
ServerRouter
Framework
Summary
The server entry point for a React Router app in Framework Mode. This
component is used to generate the HTML in the response from the server. See
entry.server.tsx.
Signature
function ServerRouter({
context,
url,
nonce,
}: ServerRouterProps): ReactElementProps
context
The entry context containing the manifest, route modules, and other data needed for rendering.
nonce
An optional nonce for Content Security Policy (CSP)
compliance. This is applied to inline scripts rendered by React Router and
used as the default for nonce-aware components such as <Links>,
<Scripts>, and <ScrollRestoration>
when they do not provide their own nonce.
url
The URL of the request being handled.
AI 翻译查看英文原文