👋 Next.js Conf 2024: Come build, party, run, and connect with us! See all events

Upgrade React

The React version used in Sanity Studio can be upgraded from the command line.

Using yarn

yarn add react@latest react-dom@latest prop-types@latest

Using npm

npm install react@latest react-dom@latest prop-types@latest

Was this article helpful?