- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.1k
docs: add translate in renderToString.md #1807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| The latest updates on your projects. Learn more about Vercel for GitHub. 
 | 
| Size changes📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 | 
| * **optional** `options`: An object for server render. | ||
| * **optional** `identifierPrefix`: A string prefix React uses for IDs generated by [`useId`.](/reference/react/useId) Useful to avoid conflicts when using multiple roots on the same page. Must be the same prefix as passed to [`hydrateRoot`.](/reference/react-dom/client/hydrateRoot#parameters) | ||
| * **可选的** `options`:服务器渲染的对象。 | ||
| * **可选的** `identifierPrefix`:[`useId`.](/reference/react/useId) 是 React 用于生成的ID的字符串前缀,用于避免在同一页面使用多个根时发生冲突。必须与传递给 [`hydrateRoot`.](/reference/react-dom/client/hydrateRoot#parameters) 的前缀相同。 | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **可选的** `identifierPrefix`:[`useId`.](/reference/react/useId) 是 React 用于生成的ID的字符串前缀,用于避免在同一页面使用多个根时发生冲突。必须与传递给 [`hydrateRoot`.](/reference/react-dom/client/hydrateRoot#parameters) 的前缀相同。 | |
| * **可选的** `identifierPrefix`:React 使用 [`useId`](/reference/react/useId) 生成的 ID 的字符串前缀。用于避免在同一页面使用多个根时发生冲突。必须与传递给 [`hydrateRoot`.](/reference/react-dom/client/hydrateRoot#parameters) 的前缀相同。 | 
| * If you use Deno or a modern edge runtime with [Web Streams](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API), use [`prerender`.](/reference/react-dom/static/prerender) | ||
| You can continue using `renderToString` if your static site generation environment does not support streams. | ||
| * 如果你使用 Node.js,可使用 [`prerenderToNodeStream`.](/reference/react-dom/static/prerenderToNodeStream) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * 如果你使用 Node.js,可使用 [`prerenderToNodeStream`.](/reference/react-dom/static/prerenderToNodeStream) | |
| * 如果你使用 Node.js,可使用 [`prerenderToNodeStream`](/reference/react-dom/static/prerenderToNodeStream)。 | 
| You can continue using `renderToString` if your static site generation environment does not support streams. | ||
| * 如果你使用 Node.js,可使用 [`prerenderToNodeStream`.](/reference/react-dom/static/prerenderToNodeStream) | ||
| * 如果你使用 Deno 或者一个 [Web 流](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API) 的现代边缘运行环境,可使用 [`prerender`.](/reference/react-dom/static/prerender) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * 如果你使用 Deno 或者一个 [Web 流](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API) 的现代边缘运行环境,可使用 [`prerender`.](/reference/react-dom/static/prerender) | |
| * 如果你使用 Deno 或者一个 [Web 流](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API) 的现代边缘运行环境,可使用 [`prerender`](/reference/react-dom/static/prerender)。 | 
| You can continue using `renderToString` if your static site generation environment does not support streams. | ||
| * 如果你使用 Node.js,可使用 [`prerenderToNodeStream`.](/reference/react-dom/static/prerenderToNodeStream) | ||
| * 如果你使用 Deno 或者一个 [Web 流](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API) 的现代边缘运行环境,可使用 [`prerender`.](/reference/react-dom/static/prerender) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
translate part link