Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wagmi-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-query": "5.64.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-dom": "^19.2.0",
Comment on lines 14 to +15

Choose a reason for hiding this comment

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

critical

Upgrading react-dom to a new major version (19.x) requires upgrading the react package to the same major version. The react package is still on version ^18.3.1, which is incompatible with react-dom@19.2.0. This mismatch will cause runtime errors.

Please upgrade react to ^19.2.0 as well.

Additionally, React 19 includes built-in TypeScript definitions. You should remove the following packages from your devDependencies as they are no longer needed and may cause conflicts:

  • @types/react
  • @types/react-dom
Suggested change
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-dom": "^19.2.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",

"viem": "^2.x",
"wagmi": "~0.x.x"
},
Expand Down
Loading