本页还没有译文
本页 12 段还没译成简体中文,下面显示的是英文原文。Scripts
还没翻译译自英文(reactrouter.com)本页 12 段都还没译
Scripts
Framework
Summary
Renders the client runtime of your app. It should be rendered inside the
<body>
of the document.
If server rendering, you can omit <Scripts/> and the app will work as a
traditional web app without JavaScript, relying solely on HTML and browser
behaviors.
import { Scripts } from "react-router";
export default function Root() {
return (
<html>
<head />
<body>
<Scripts />
</body>
</html>
);
}Signature
function Scripts(scriptProps: ScriptsProps): React.JSX.Element | nullProps
scriptProps
Additional props to spread onto the <script> tags, such as crossOrigin,
nonce,
etc.
AI 翻译查看英文原文