Skip to content

Commit

Permalink
Update ssr-react.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed May 5, 2024
1 parent 9bfeb0a commit b01310c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/guides/ecosystem/ssr-react.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,4 @@ Bun.serve({

---

React `19` and later includes an [SSR optimization](https://github.com/facebook/react/pull/25597) that takes advantage of Bun's "direct" `ReadableStream` implementation.

---

If you run into an error like `export named 'renderToReadableStream' not found`, please make sure to install the canary version of `react` & `react-dom`, or import from `react-dom/server.browser` instead of `react-dom/server`. See [facebook/react#28941](https://github.com/facebook/react/issues/28941) for more information.
React `19` and later includes an [SSR optimization](https://github.com/facebook/react/pull/25597) that takes advantage of Bun's "direct" `ReadableStream` implementation. If you run into an error like `export named 'renderToReadableStream' not found`, please make sure to install the canary version of `react` & `react-dom`, or import from `react-dom/server.browser` instead of `react-dom/server`. See [facebook/react#28941](https://github.com/facebook/react/issues/28941) for more information.

0 comments on commit b01310c

Please sign in to comment.