Skip to content

Commit 2bbe452

Browse files
authored
typo on prerender.md
1 parent af0358f commit 2bbe452

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/reference/react-dom/static/prerender.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ On the client, call [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) to
6262
#### Returns {/*returns*/}
6363
6464
`prerender` returns a Promise:
65-
- If rendering the is successful, the Promise will resolve to an object containing:
65+
- If the rendering is successful, the Promise will resolve to an object containing:
6666
- `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.
6767
- If rendering fails, the Promise will be rejected. [Use this to output a fallback shell.](#recovering-from-errors-inside-the-shell)
6868
@@ -294,4 +294,4 @@ Suspense-enabled data fetching without the use of an opinionated framework is no
294294
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.
295295
296296
To stream content as it loads, use a streaming server render API like [renderToReadableStream](/reference/react-dom/server/renderToReadableStream).
297-
297+

0 commit comments

Comments
 (0)