Skip to content

Commit a9d772d

Browse files
Update src/content/reference/react-dom/static/resumeAndPrerenderToNodeStream.md
Remove extra word 'the'. Should be 'If rendering is successful'. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3ed8196 commit a9d772d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ On the client, call [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) to
5454
#### Returns {/*returns*/}
5555
5656
`resumeAndPrerenderToNodeStream` returns a Promise:
57-
- If rendering the is successful, the Promise will resolve to an object containing:
57+
- If rendering is successful, the Promise will resolve to an object containing:
5858
- `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.
5959
- `postponed`: an JSON-serializeable, opaque object that can be passed to [`resumeToNodeStream`](/reference/react-dom/server/resume) or [`resumeAndPrerenderToNodeStream`](/reference/react-dom/static/resumeAndPrerenderToNodeStream) if `resumeAndPrerenderToNodeStream` is aborted.
6060
- 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)