🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

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?