Skip to content

chore(deps): bump react and @types/react#31

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/multi-d88693a43a
Open

chore(deps): bump react and @types/react#31
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/multi-d88693a43a

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 27, 2026

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

Release notes

Sourced from react's releases.

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:
  • 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

... (truncated)

Changelog

Sourced from react'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 from 18.3.23 to 19.2.14

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

Updates `react` from 18.3.1 to 19.2.4
- [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.4/packages/react)

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

---
updated-dependencies:
- dependency-name: react
  dependency-version: 19.2.4
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/react"
  dependency-version: 19.2.14
  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 Feb 27, 2026
@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR attempts to upgrade React from version 18.3.1 to 19.2.4 and @types/react from 18.3.23 to 19.2.14 across the monorepo, as part of an automated Dependabot update. However, the upgrade is incomplete and creates multiple critical peer dependency conflicts.

Changes:

  • Upgrades react to 19.2.4 in apps/homework and apps/roadbook
  • Upgrades @types/react to 19.2.14 across apps/homework, apps/roadbook, and packages/ui
  • Leaves react-dom at 18.3.1, which is incompatible with React 19
  • Does not upgrade packages/ui runtime dependencies, creating version mismatches

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 4 comments.

File Description
pnpm-lock.yaml Updates dependency resolution, but creates peer dependency mismatches between React 19, react-dom 18, and Next.js 13
apps/homework/package.json Updates react to 19.2.4 and @types/react to 19.2.14, but leaves react-dom at 18.2.0
apps/roadbook/package.json Updates react to 19.2.4 and @types/react to 19.2.14, but leaves react-dom at 18.2.0
packages/ui/package.json Updates @types/react to ^19, but leaves runtime dependencies on React 18
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +12 to 13
"react": "^19.2.4",
"react-dom": "^18.2.0",
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

React 19.2.4 is being used with react-dom 18.3.1, which violates react-dom's peer dependency requirement of ^18.3.1. The react-dom package explicitly expects React 18, but React 19 is being provided. This creates a peer dependency mismatch that can cause runtime issues and unexpected behavior.

Additionally, Next.js 13.5.11 has a peer dependency on react ^18.2.0 and react-dom ^18.2.0, but is being used with React 19.2.4. Next.js 13 was not designed to work with React 19, and this version mismatch can lead to compatibility issues.

To fix this issue, either:

  1. Upgrade react-dom to a version compatible with React 19 (if available), OR
  2. Revert React to version 18.3.1 to maintain compatibility with the current ecosystem, OR
  3. Upgrade Next.js to a version that supports React 19 (Next.js 15+ officially supports React 19)

Copilot uses AI. Check for mistakes.
},
"devDependencies": {
"@types/react": "^18",
"@types/react": "^19",
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

This package specifies @types/react ^19 in devDependencies and @types/react-dom ^18 in devDependencies, but @types/react-dom 18.3.7 has a peer dependency requirement of @types/react ^18.0.0. Using @types/react 19.2.14 with @types/react-dom 18.3.7 creates a type definition mismatch.

This can lead to TypeScript compilation errors or incorrect type checking. The @types/react-dom version should be upgraded to one compatible with @types/react 19, or @types/react should remain at version 18.

Suggested change
"@types/react": "^19",
"@types/react": "^18",

Copilot uses AI. Check for mistakes.
Comment on lines 81 to 87
dependencies:
react:
specifier: ^18.0.0
version: 18.3.1
react-dom:
specifier: ^18.0.0
version: 18.3.1(react@18.3.1)
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

The packages/ui package has dependencies on react ^18.0.0 and react-dom ^18.0.0, which means it will install React 18.3.1. However, the consuming applications (apps/homework and apps/roadbook) are using React 19.2.4. This creates a version mismatch where the UI package is built with React 18 types and runtime while the applications are using React 19.

This inconsistency can lead to:

  1. Multiple React instances being bundled
  2. Runtime errors due to different React versions
  3. Type definition conflicts
  4. Unpredictable behavior when components from packages/ui are used in apps

The packages/ui dependencies should be updated to match the React version used by the consuming applications, or all applications should use the same React version as packages/ui.

Copilot uses AI. Check for mistakes.
Comment on lines +12 to 13
"react": "^19.2.4",
"react-dom": "^18.2.0"
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

React 19.2.4 is being used with react-dom 18.3.1, which violates react-dom's peer dependency requirement of ^18.3.1. The react-dom package explicitly expects React 18, but React 19 is being provided. This creates a peer dependency mismatch that can cause runtime issues and unexpected behavior.

Additionally, Next.js 13.5.11 has a peer dependency on react ^18.2.0 and react-dom ^18.2.0, but is being used with React 19.2.4. Next.js 13 was not designed to work with React 19, and this version mismatch can lead to compatibility issues.

To fix this issue, either:

  1. Upgrade react-dom to a version compatible with React 19 (if available), OR
  2. Revert React to version 18.3.1 to maintain compatibility with the current ecosystem, OR
  3. Upgrade Next.js to a version that supports React 19 (Next.js 15+ officially supports React 19)

Copilot uses AI. Check for mistakes.
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