Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Commit

Permalink
Update react version to rc in react-18 doc (vercel#32473)
Browse files Browse the repository at this point in the history
* Update react version to rc in react-18 doc

* Apply suggestions from code review

Co-authored-by: Steven <steven@ceriously.com>
Co-authored-by: Lee Robinson <me@leerob.io>
  • Loading branch information
3 people authored and cdierkens committed Dec 20, 2021
1 parent c7704cf commit d897cc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/advanced-features/react-18.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d897cc9

Please sign in to comment.