Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 17, 2025

Bumps @types/react from 18.3.2 to 19.2.5.

Commits

Dependabot compatibility score

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.3.2 to 19.2.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-version: 19.2.5
  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 Nov 17, 2025
Comment on lines +65 to 66
"@types/react": "19.2.5",
"@types/react-dom": "18.3.0",
Copy link

Choose a reason for hiding this comment

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

Version mismatch between @types/react and @types/react-dom will cause TypeScript compilation errors. Upgrading @types/react from 18.x to 19.x (a major version) while keeping @types/react-dom at 18.3.0 creates incompatibility.

React 19 introduced breaking type changes (notably removing @types/prop-types dependency as seen in yarn.lock). The v18 react-dom types expect v18 react types structures which may no longer exist in v19.

Fix: Update @types/react-dom to match the React 19 types:

"@types/react-dom": "^19.0.0"

Or downgrade to keep both dependencies aligned at v18 until ready for the full React 19 migration.

Suggested change
"@types/react": "19.2.5",
"@types/react-dom": "18.3.0",
"@types/react": "19.2.5",
"@types/react-dom": "^19.0.0",

Spotted by Graphite Agent

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 26, 2025

Superseded by #1461.

@dependabot dependabot bot closed this Nov 26, 2025
@dependabot dependabot bot deleted the d669dependabot/npm_and_yarn/types/react-19.2.5 branch November 26, 2025 21:10
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