Skip to content

chore(deps): standardize monorepo on react 19.x for next.js 16 compatibility#28722

Open
TanmayChaurasia24 wants to merge 2 commits intocalcom:mainfrom
TanmayChaurasia24:chore/react-19-upgrade
Open

chore(deps): standardize monorepo on react 19.x for next.js 16 compatibility#28722
TanmayChaurasia24 wants to merge 2 commits intocalcom:mainfrom
TanmayChaurasia24:chore/react-19-upgrade

Conversation

@TanmayChaurasia24
Copy link
Copy Markdown

Summary

This PR fully standardizes the monorepo's dependency tree onto React 19 (specifically 19.2.4 and @types/react@19.0.0).

We are adopting React 19 universally because Next.js 16 no longer supports React 18. This resolves the fragmented react and react-dom versioning across root resolutions and app workspaces, which was at risk of causing serious hydration mismatches and inconsistent ref forwarding behavior.

Changes:

  • Updated react and react-dom to 19.2.4 inside apps/web/package.json and in top-level definitions.
  • Bumped @types/react and @types/react-dom to 19.0.0 in root resolutions.
  • Documented the React 19 standard in CONTRIBUTING.md to prevent future version drift.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Chore (Dependency updates, refactoring, or tooling improvements)

Checklist

  • Title follows conventional commits: feat(scope): description or chore(deps): description
  • Type check passes cleanly (yarn type-check:ci --force)
  • Diff is focused (addresses only the React versioning constraint)

Fixes #28634
Screenshot 2026-04-03 at 1 54 07 PM

@TanmayChaurasia24 TanmayChaurasia24 requested a review from a team as a code owner April 3, 2026 08:24
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 3, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

React version split — web app pins React 18.2.0 while root resolutions force React 19.2.4

2 participants