From 2bbe4527399a8eab40317ce53187b9bc7a50f229 Mon Sep 17 00:00:00 2001 From: andi hakim arif Date: Sun, 2 Feb 2025 10:15:30 +0700 Subject: [PATCH] typo on prerender.md --- src/content/reference/react-dom/static/prerender.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/reference/react-dom/static/prerender.md b/src/content/reference/react-dom/static/prerender.md index 6450e4a3434..c60948445f4 100644 --- a/src/content/reference/react-dom/static/prerender.md +++ b/src/content/reference/react-dom/static/prerender.md @@ -62,7 +62,7 @@ On the client, call [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) to #### Returns {/*returns*/} `prerender` returns a Promise: -- If rendering the is successful, the Promise will resolve to an object containing: +- If the rendering is successful, the Promise will resolve to an object containing: - `prelude`: a [Web Stream](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API) of HTML. You can use this stream to send a response in chunks, or you can read the entire stream into a string. - If rendering fails, the Promise will be rejected. [Use this to output a fallback shell.](#recovering-from-errors-inside-the-shell) @@ -294,4 +294,4 @@ Suspense-enabled data fetching without the use of an opinionated framework is no The `prerender` response waits for the entire app to finish rendering, including waiting for all Suspense boundaries to resolve, before resolving. It is designed for static site generation (SSG) ahead of time and does not support streaming more content as it loads. To stream content as it loads, use a streaming server render API like [renderToReadableStream](/reference/react-dom/server/renderToReadableStream). - \ No newline at end of file +