Skip to content

Commit 6c0ace6

Browse files
authored
Apply suggestions from code review
1 parent 811f05b commit 6c0ace6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export default {
183183
};
184184
```
185185

186-
The returned `ReadableStream` has an extra `allReady: Promise<void>` property that resolves once every suspended subtree has been written. Await it before sending the response if you need the complete document before anything is flushed (e.g. for static export).
186+
The returned `ReadableStream` has an extra `allReady: Promise<void>` property that resolves once every suspended subtree has been written. Await it before sending the response if you need the complete document before anything is flushed (e.g. for static export). At which point you might be better off using `renderToStringAsync` though.
187187

188188
```js
189189
const stream = renderToReadableStream(<App />);

0 commit comments

Comments
 (0)