Help articles
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
For AI agents: append .md to this page's URL for a markdown version. The complete documentation index is available at https://www.sanity.io/docs/llms.txt.
The React version used in Sanity Studio can be upgraded from the command line.
yarn add react@latest react-dom@latest prop-types@latest
npm install react@latest react-dom@latest prop-types@latest