Skip to content
Open
Show file tree
Hide file tree
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
12 changes: 5 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"react": "^18.2.0",
"react": "^19.1.1",
"react-dom": "^18.2.0"
Comment on lines +13 to 14

Choose a reason for hiding this comment

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

critical

Upgrading react to version 19 requires upgrading react-dom to the same version. The versions of react and react-dom must be kept in sync to ensure compatibility and avoid runtime errors, as React 19 introduces significant breaking changes that make it incompatible with react-dom v18.

After fixing this, you should also consider updating the corresponding type definitions (@types/react, @types/react-dom) and review the React 19 Upgrade Guide for other necessary changes and codemods.

Suggested change
"react": "^19.1.1",
"react-dom": "^18.2.0"
"react": "^19.1.1",
"react-dom": "^19.1.1"

},
"devDependencies": {
Expand Down