Skip to content

Bump react-dom and @types/react-dom - #26

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

Bump react-dom and @types/react-dom#26
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-bb2efd036b

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 23, 2026

Copy link
Copy Markdown

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

Release notes

Sourced from react-dom's releases.

19.2.6 (May 6th, 2026)

React Server Components

19.2.5 (April 8th, 2026)

React Server Components

19.2.4 (January 26th, 2026)

React Server Components

19.2.3 (December 11th, 2025)

React Server Components

19.2.2 (December 11th, 2025)

React Server Components

19.2.1 (December 3rd, 2025)

React Server Components

19.2.0 (Oct 1, 2025)

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

Read the React 19.2 release post for more information.

New React Features

  • <Activity>: A new API to hide and restore the UI and internal state of its children.
  • useEffectEvent is a React Hook that lets you extract non-reactive logic into an Effect Event.
  • cacheSignal (for RSCs) lets your know when the cache() lifetime is over.
  • React Performance tracks appear on the Performance panel’s timeline in your browser developer tools

New React DOM Features

  • Added resume APIs for partial pre-rendering with Web Streams:
  • Added resume APIs for partial pre-rendering with Node Streams:

... (truncated)

Changelog

Sourced from react-dom's changelog.

19.2.1 (Dec 3, 2025)

React Server Components

19.2.0 (October 1st, 2025)

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

Read the React 19.2 release post for more information.

New React Features

  • <Activity>: A new API to hide and restore the UI and internal state of its children.
  • useEffectEvent is a React Hook that lets you extract non-reactive logic into an Effect Event.
  • cacheSignal (for RSCs) lets your know when the cache() lifetime is over.
  • React Performance tracks appear on the Performance panel’s timeline in your browser developer tools

New React DOM Features

  • Added resume APIs for partial pre-rendering with Web Streams:
  • Added resume APIs for partial pre-rendering with Node Streams:
  • Updated prerender APIs to return a postponed state that can be passed to the resume APIs.

Notable changes

  • React DOM now batches suspense boundary reveals, matching the behavior of client side rendering. This change is especially noticeable when animating the reveal of Suspense boundaries e.g. with the upcoming <ViewTransition> Component. React will batch as much reveals as possible before the first paint while trying to hit popular first-contentful paint metrics.
  • Add Node Web Streams (prerender, renderToReadableStream) to server-side-rendering APIs for Node.js
  • Use underscore instead of : IDs generated by useId

All Changes

React

... (truncated)

Commits

Updates @types/react-dom from 18.3.0 to 19.2.3

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://github.com/facebook/react/tree/HEAD/packages/react-dom) and [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom). These dependencies needed to be updated together.

Updates `react-dom` from 18.3.1 to 19.2.6
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.6/packages/react-dom)

Updates `@types/react-dom` from 18.3.0 to 19.2.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: react-dom
  dependency-version: 19.2.6
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/react-dom"
  dependency-version: 19.2.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 23, 2026
@vercel

vercel Bot commented May 23, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
aleph Error Error May 23, 2026 5:04pm
aleph-web Error Error May 23, 2026 5:04pm

@coderabbitai

coderabbitai Bot commented May 23, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Root package.json upgrades React DOM to 19.2.6, and web/package.json aligns both React DOM and its type definitions (@types/react-dom) to their corresponding 19.2.x versions for consistency across the monorepo workspace.

Changes

React DOM Upgrade

Layer / File(s) Summary
React DOM dependency updates
package.json, web/package.json
React DOM bumped to 19.2.6 in root and web workspaces; @types/react-dom synchronized to 19.2.3 in web workspace.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Bump react-dom and @types/react-dom' directly and clearly describes the main change in the pull request, which is updating these two dependencies.
Description check ✅ Passed The description provides detailed information about the dependency updates, including version changes, release notes, changelogs, and commit histories, all directly related to the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package.json`:
- Line 28: Package.json currently pins mismatched React majors: the "react"
dependency is "18.3.1" while "react-dom" is "19.2.6", which causes
peer-dependency warnings and runtime instability; fix by aligning majors —
either upgrade "react" to a 19.x release or downgrade "react-dom" to an 18.x
release so both "react" and "react-dom" share the same major version, and update
any workspace/package-lock entries accordingly to ensure consistent installs.

In `@web/package.json`:
- Around line 14-19: The package.json mixes React 18 and ReactDOM 19; update the
dependency set so all React-related packages use the same major (choose either
React 19 or keep React 18) by making react, react-dom, `@types/react` and
`@types/react-dom` the same major version; ensure the choice matches how
apps/web/src/main.tsx imports react-dom/client and adjust the four package
entries (react, react-dom, `@types/react`, `@types/react-dom`) to the chosen major
version so types and runtime are aligned.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 513d706d-3cbe-4b10-a9d5-88dd9ef8f631

📥 Commits

Reviewing files that changed from the base of the PR and between 7adbcc1 and 427d68f.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • package.json
  • web/package.json

Comment thread package.json
"dependencies": {
"react": "18.3.1",
"react-dom": "18.3.1"
"react-dom": "19.2.6"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

python - <<'PY'
import json, pathlib, urllib.request, urllib.parse

root = json.loads(pathlib.Path("package.json").read_text())
print("root react     :", root.get("dependencies", {}).get("react"))
print("root react-dom :", root.get("dependencies", {}).get("react-dom"))

def fetch_peers(pkg, ver):
    url = f"https://registry.npmjs.org/{urllib.parse.quote(pkg, safe='')}/{ver}"
    with urllib.request.urlopen(url) as r:
        data = json.load(r)
    print(f"{pkg}@{ver} peerDependencies:", data.get("peerDependencies"))

fetch_peers("react-dom", "19.2.6")
PY

Repository: p-to-q/aleph

Length of output: 2746


Align react and react-dom major versions
package.json pins "react": "18.3.1" (line 27) while "react-dom" is set to "19.2.6" (line 28), creating a React major-version skew that commonly leads to peer-dependency warnings and install/runtime instability across workspaces.

"react": "18.3.1",
"react-dom": "19.2.6"

Fix by either bumping "react" to 19.x consistently across the workspace or downgrading "react-dom" to an 18.x version that matches.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 28, Package.json currently pins mismatched React
majors: the "react" dependency is "18.3.1" while "react-dom" is "19.2.6", which
causes peer-dependency warnings and runtime instability; fix by aligning majors
— either upgrade "react" to a 19.x release or downgrade "react-dom" to an 18.x
release so both "react" and "react-dom" share the same major version, and update
any workspace/package-lock entries accordingly to ensure consistent installs.

Comment thread web/package.json
Comment on lines +14 to +19
"react-dom": "19.2.6"
},
"devDependencies": {
"@types/node": "20.11.17",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/react-dom": "19.2.3",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== web/package.json =="
cat -n web/package.json | sed -n '1,120p'

echo
echo "== Search for react-dom/client usage =="
rg -n "react-dom/client" -S .
echo
echo "== apps/web/src/main.tsx =="
if [ -f apps/web/src/main.tsx ]; then
  cat -n apps/web/src/main.tsx | sed -n '1,120p'
else
  echo "File apps/web/src/main.tsx not found"
fi

Repository: p-to-q/aleph

Length of output: 1198


Critical: Align React/ReactDOM runtime + type versions in web/package.json
web/package.json mixes React 18 with ReactDOM 19 (react@18.3.1 + react-dom@19.2.6, lines 13–14) and the corresponding DefinitelyTyped packages (@types/react@18.3.3 + @types/react-dom@19.2.3, lines 18–19), while apps/web/src/main.tsx uses react-dom/client. Update the dependency set to a consistent React major version (either fully React 19 or keep all React/DOM packages on 18.x) in this PR.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@web/package.json` around lines 14 - 19, The package.json mixes React 18 and
ReactDOM 19; update the dependency set so all React-related packages use the
same major (choose either React 19 or keep React 18) by making react, react-dom,
`@types/react` and `@types/react-dom` the same major version; ensure the choice
matches how apps/web/src/main.tsx imports react-dom/client and adjust the four
package entries (react, react-dom, `@types/react`, `@types/react-dom`) to the chosen
major version so types and runtime are aligned.

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.

0 participants