Installing React 18 RC · reactwg/react-18 · Discussion #9 (original) (raw)

Installing React 18

To install the latest React 18 RC, use the @rc tag:

npm install react@rc react-dom@rc

We don't have a specific release dates scheduled, but our expected timeline is:

Alpha (complete!)

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 useMutableSource, useOpaqueIdentifier, and stylesheets. We’ll iterate on these features with the working group and collect feedback in order to finalize them.

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.

Beta (complete!)

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.

RC (current stage)

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.

Stable

Finally, we’ll have the stable React 18 release!

Release tags

When the tags are available, they will be have the following format:

Similar to how our experimental tags work, we’ll automatically release a new sha-based tag nightly with the latest changes. If you’re familiar with our next process, we’re doing the same thing but just assigning meaningful labels.

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: