Skip to content

fix(deps): update react monorepo to v19 - #1135

Merged
cursor[bot] merged 1 commit into
mainfrom
cody/react-19-71a1
Nov 15, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cody/react-19-71a1

Conversation

@stipsan

@stipsan stipsan commented Nov 15, 2026

Copy link
Copy Markdown
Member

Supersedes #1120 (Renovate), which fails vp check with 4 type errors.

  • Bumps react, react-dom, @types/react and @types/react-dom to v19 (same versions and lockfile as fix(deps): update react monorepo to v19 #1120).
  • React 19's types reject ref callbacks that return a value (a returned function is now treated as a ref cleanup). The ref callbacks in ExampleAlignment, ExampleBoundary and ExampleIfNeeded now have block bodies.

Verified locally: vp check, vp run typecheck and vp run build all pass. No other React 19 removed APIs (findDOMNode, string refs, legacy context, ReactDOM.render) are used.

Open in Web Open in Cursor 

@vercel

vercel Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scroll-into-view-dev Ready Ready Preview Nov 15, 2026 11:19pm UTC

Request Review

@socket-security

socket-security Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​types/​react-dom@​18.3.7 ⏵ 19.3.01001007583100
Updated@​types/​react@​18.3.31 ⏵ 19.3.0100 +11007988100
Updatedreact@​18.3.1 ⏵ 19.3.1100 +11008497100
Updatedreact-dom@​18.3.1 ⏵ 19.3.110010092 +198100

View full report

Supersedes #1120. React 19's types reject ref callbacks that return a
value, so the example components now use block-bodied ref callbacks.

Co-authored-by: Cody Olsen <stipsan@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cody/react-19-71a1 branch from 480e760 to 3897b25 Compare November 15, 2026 23:19
@cursor
cursor Bot merged commit 3897b25 into main Nov 15, 2026
6 checks passed
@cursor
cursor Bot deleted the cody/react-19-71a1 branch November 15, 2026 23:21
@cursor cursor Bot mentioned this pull request Nov 15, 2026
1 task

This branch was successfully deployed

2 active deployments
Production — 3897b258 Deployed Nov 15, 2026 by vercel[bot]
Preview — 3897b258 Deployed Nov 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants