Skip to content

chore(deps): update react monorepo to v19 - #40745

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/dataflow-visualizer-major-react-monorepo
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/dataflow-visualizer-major-react-monorepo

Conversation

@renovate

@renovate renovate Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@types/react (source) 16.14.71 → 19.3.3 age confidence
@types/react-dom (source) 16.9.25 → 19.3.0 age confidence

Configuration

📅 Schedule: (in timezone Etc/UTC)

  • Branch creation
    • Only on Saturday (* * * * 6)
    • Between 12:00 AM and 03:59 AM, only on Sunday (* 0-3 * * 0)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the A-dependencies Area: dependency upgrades label Nov 15, 2026
@renovate
renovate Bot force-pushed the renovate/dataflow-visualizer-major-react-monorepo branch 3 times, most recently from c60d230 to edb9136 Compare November 20, 2026 17:48
@renovate
renovate Bot force-pushed the renovate/dataflow-visualizer-major-react-monorepo branch from edb9136 to 6a58b5c Compare November 25, 2026 13:55
Comment thread test/dataflow-visualizer/package.json Outdated
Comment on lines +14 to +15
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔴 The JS typedef lint step will fail after this merges. The new React 19 type packages describe a React the visualizer pages never load. metrics.jsx:934 calls ReactDOM.render, which @ types/react-dom 19 no longer declares, so tsc under tsconfig.typecheck.json reports a missing property. The page itself runs React 16.14.0 (src/npm/src/lib.rs:136). Fix: keep @ types/react and @ types/react-dom on 16.x to match the vendored runtime, and have Renovate ignore majors for them until the runtime and the ReactDOM.render callers move to createRoot together.

Why this was flagged

ci/test/lint-main/checks/check-js-typedefs.sh:25-26 runs npm ci and then tsc -p test/dataflow-visualizer/tsconfig.typecheck.json. That config includes src/environmentd/src/http/static/js/metrics.jsx and loads the global types "react" and "react-dom". metrics.jsx:934 calls ReactDOM.render(<MetricsApp />, content). @ types/react-dom 19 removed the legacy render, hydrate and unmountComponentAtNode declarations, so tsc reports that 'render' does not exist and the lint check fails on every run. On the base branch @ types/react-dom 16.9.25 declares render and the check passes. The browser runtime is still React 16.14.0, vendored via src/npm/src/lib.rs:136 and :145 and loaded in templates/metrics-viz.html:6-7, where ReactDOM.render is the correct API. The 19.x types therefore describe the wrong API surface even where they do compile. memory.jsx:681 and hierarchical-memory.jsx:261 use the same call but are not in the typecheck include list.

Verification: metrics.jsx:934 calls ReactDOM.render(<MetricsApp />, content);. The lock file now resolves @ types/react-dom to 19.3.0, which no longer declares render. tsc will therefore report TS2339 (property 'render' does not exist) and try_status_report will fail the lint check. src/npm/src/lib.rs:134-150 vendors react and react-dom at version "16.14.0".

@renovate
renovate Bot force-pushed the renovate/dataflow-visualizer-major-react-monorepo branch 7 times, most recently from a8dd941 to c1aa315 Compare November 30, 2026 14:09
@renovate renovate Bot changed the title chore(deps): update react monorepo to v19 Update react monorepo to v19 Dec 1, 2026
@renovate renovate Bot changed the title Update react monorepo to v19 chore(deps): update react monorepo to v19 Dec 1, 2026
@renovate
renovate Bot force-pushed the renovate/dataflow-visualizer-major-react-monorepo branch from c1aa315 to 222720b Compare December 2, 2026 11:45

This branch has not been deployed

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

Labels

A-dependencies Area: dependency upgrades

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants