Skip to content

Commit

Permalink
[1.x] feat: support react 19 (#2121)
Browse files Browse the repository at this point in the history
* feat: support react 19

* chore: use react 19 in playground

* chore: unable to build due to ts issues in older type definitions

* Align React dependencies

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
  • Loading branch information
jordyvanderhaegen and reinink authored Dec 13, 2024
1 parent 4737a05 commit 354f5a0
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 42 deletions.
87 changes: 53 additions & 34 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/react": "^16.9.1",
"@types/react-dom": "^16.9.17",
"@types/react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"@types/react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"esbuild": "^0.16.13",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"typescript": "^4.9.4"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"dependencies": {
"@inertiajs/core": "1.3.0-beta.2",
Expand Down
8 changes: 4 additions & 4 deletions playgrounds/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
},
"devDependencies": {
"@inertiajs/react": "1.3.0-beta.2",
"@types/react": "^16.14.35",
"@types/react-dom": "^16.9.18",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^3.0.0",
"autoprefixer": "^10.4.13",
"axios": "^1.6.0",
"laravel-vite-plugin": "^0.7.2",
"lodash": "^4.17.19",
"postcss": "^8.4.31",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwindcss": "^3.2.4",
"typescript": "^4.9.5",
"vite": "^4.5.3"
Expand Down

0 comments on commit 354f5a0

Please sign in to comment.