Skip to content

Commit

Permalink
feat(react): streaming SSR support
Browse files Browse the repository at this point in the history
  • Loading branch information
vicary committed Jan 22, 2025
1 parent 08d7341 commit f785e10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/guides/next/ssr-ssg.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ const UserProfile: FC<{ id: string }> = ({ id }) => {
```

<Alert title="Suspense is supported">
The hook `prepareReactRender` uses
[`react-ssr-prepass`](https://github.com/FormidableLabs/react-ssr-prepass),
under the hood, so it already works with Suspense.
Under the hood, `prepareReactRender` uses `react-dom/server` since React 18,
and [`react-ssr-prepass`](https://github.com/FormidableLabs/react-ssr-prepass)
on older versions.
</Alert>

## Performance Optimization
Expand Down

0 comments on commit f785e10

Please sign in to comment.