From b01310c3f6940d3853219804928db966f435f524 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sun, 5 May 2024 00:53:52 -0700 Subject: [PATCH] Update ssr-react.md --- docs/guides/ecosystem/ssr-react.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/guides/ecosystem/ssr-react.md b/docs/guides/ecosystem/ssr-react.md index ea39631430..6c4e3b62ac 100644 --- a/docs/guides/ecosystem/ssr-react.md +++ b/docs/guides/ecosystem/ssr-react.md @@ -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.