From aedb86591ff854e8e55b74c67dd87d4b4202862a Mon Sep 17 00:00:00 2001 From: Abdullah Mzaien Date: Tue, 16 Nov 2021 07:09:42 +0300 Subject: [PATCH] Update react-18.md (#31476) Changing the install tags to beta since react released the [beta](https://github.com/reactwg/react-18/discussions/112) today ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint` --- 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 03d786dc2bbc2..ef97e30239e7d 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 alpha. 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 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 Usage in Next.js -Ensure you have the `alpha` version of React installed: +Ensure you have the `beta` version of React installed: ```jsx -npm install next@latest react@alpha react-dom@alpha +npm install next@latest react@beta react-dom@beta ``` ### Enable SSR Streaming (Alpha)