Installing React 18
To install the latest React 18 alpha, use the
npm install react@alpha react-dom@alpha
We don't have a specific release dates scheduled, but our expected timeline is:
This is the initial preview of React 18. We believe most of the features are stable, however, there is still some work to be done including finalizing new APIs such as
We’ll also be working with popular libraries in the ecosystem to ensure that they have the support they need for React 18.
During the alpha stage, we only expect library maintainers and working group members to try the release to provide direction and feedback.
Once we are feature complete, we’ll release the React 18 Beta. This will have all of the breaking changes and new features that will make it to the final release, but may still have bugs that we haven’t uncovered.
During the beta phase, we’ll invite the larger community to begin trying React 18 to provide feedback and catch any remaining issues.
Once we’re fully feature complete and feel confident in the stability of the Release, we’ll cut an RC. At this point, we will feel comfortable with releasing the stable and for users to being testing in production.
Finally, we’ll have the stable React 18 release!
When the tags are available, they will be have the following format:
Similar to how our
We’re continuing to include sha’s in the version tag to discourage pinning to the alpha versions, since during the alpha and beta phase there may be unannounced breaking changes.
Once we hit RC, we’ll publish the release in a way that allows pinning, as in:
Not silly at all!
Re: those Hooks, not documented but you can search for their names in the React repo and find related tests. We’ll document them at some point between Alpha and Beta in the working group.
Re: Alpha, the latest
Good questions @markerikson:
The plan is to iterate on it in the working group and after we confirm it's stable and can be used by libraries for the use case it's designed for, we'll drop the