From d897cc929fa28743c2f3d87e105ff0226a45d829 Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Tue, 14 Dec 2021 00:09:33 +0100 Subject: [PATCH] Update react version to rc in react-18 doc (#32473) * Update react version to rc in react-18 doc * Apply suggestions from code review Co-authored-by: Steven Co-authored-by: Lee Robinson --- docs/advanced-features/react-18.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/advanced-features/react-18.md b/docs/advanced-features/react-18.md index ad3cfce10e22..60f7504837f5 100644 --- a/docs/advanced-features/react-18.md +++ b/docs/advanced-features/react-18.md @@ -2,14 +2,14 @@ [React 18](https://reactjs.org/blog/2021/06/08/the-plan-for-react-18.html) adds new features including, Suspense, automatic batching of updates, APIs like `startTransition`, and a new streaming API for server rendering with support for `React.lazy`. -React 18 is still in beta. Read more about React 18's [release plan](https://github.com/reactwg/react-18/discussions) and discussions from the [working group](https://github.com/reactwg/react-18/discussions). +React 18 is in RC now. Read more about React 18's [release plan](https://github.com/reactwg/react-18/discussions) and discussions from the [working group](https://github.com/reactwg/react-18/discussions). ### React 18 Usage in Next.js -Ensure you have the `beta` version of React installed: +Ensure you have the `rc` npm tag of React installed: ```jsx -npm install next@latest react@beta react-dom@beta +npm install next@latest react@rc react-dom@rc ``` ### Enable SSR Streaming (Alpha)