Skip to content

Commit d013b51

Browse files
typo on prerender.md (#7467)
Co-authored-by: Ricky <rickhanlonii@gmail.com>
1 parent 4089cc0 commit d013b51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ On the client, call [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) to
6666
#### Returns {/*returns*/}
6767
6868
`prerender` returns a Promise:
69-
- If rendering the is successful, the Promise will resolve to an object containing:
69+
- If the rendering is successful, the Promise will resolve to an object containing:
7070
- `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.
7171
- `postponed`: a JSON-serializeable, opaque object that can be passed to [`resume`](/reference/react-dom/server/resume) if `prerender` did not finish. Otherwise `null` indicating that the `prelude` contains all the content and no resume is necessary.
7272
- If rendering fails, the Promise will be rejected. [Use this to output a fallback shell.](/reference/react-dom/server/renderToReadableStream#recovering-from-errors-inside-the-shell)

0 commit comments

Comments
 (0)