Sanity Studio v5: Embracing React 19
Blog post from Sanity
Sanity Studio is transitioning from React 18 to React 19.2 to leverage the latest performance improvements and features, such as the <Activity> component and the use() hook, which enhance data fetching and component visibility management. This upgrade aligns with industry trends, as seen with Next.js requiring React 19 since mid-2025, and aims to address the inefficiencies and extra development cycles incurred by maintaining backward compatibility with React 18. The migration to React 19.2 is straightforward, requiring only a dependency update for those already on any version of React 19. The change does not affect existing schemas, plugins, or customizations, and users of Sanity Studio will automatically benefit from performance enhancements post-upgrade. Sanity emphasizes a smooth transition by advising developers to address any deprecation warnings and enable strict mode testing during the upgrade. The move to React 19.2 also includes addressing a recent React security advisory, ensuring that Sanity Studio users are not directly affected. This version shift is part of a broader strategy to adopt standard semantic versioning, focusing on minor and major updates that prioritize backward compatibility and minimize disruption.