From d28210f1e8b93ec14746fd7d8243e92bb485e57d Mon Sep 17 00:00:00 2001 From: Rafael Date: Fri, 17 Jan 2025 02:15:59 -0500 Subject: [PATCH] Update ssr-react.md to reference normal non-beta react (#16350) --- docs/guides/ecosystem/ssr-react.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guides/ecosystem/ssr-react.md b/docs/guides/ecosystem/ssr-react.md index 6c4e3b62ac..56ac703fd9 100644 --- a/docs/guides/ecosystem/ssr-react.md +++ b/docs/guides/ecosystem/ssr-react.md @@ -2,11 +2,11 @@ name: Server-side render (SSR) a React component --- -To get started, install the canary version of `react` & `react-dom`: +To get started, install `react` & `react-dom`: ```sh # Any package manager can be used -$ bun add react@canary react-dom@canary +$ bun add react react-dom ``` --- @@ -48,4 +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 version `19` 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.