Skip to content

Commit f29a51d

Browse files
feat(react): adding support for react 19 (#113)
1 parent 5aaf9cc commit f29a51d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/react-inertia/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
},
3030
"peerDependencies": {
3131
"@inertiajs/react": "^1.0.0 || ^2.0.0",
32-
"react": "^18.0.0"
32+
"react": "^18.0.0 || ^19.0.0"
3333
},
3434
"dependencies": {
3535
"laravel-precognition": "0.5.14",
3636
"laravel-precognition-react": "0.5.14"
3737
},
3838
"devDependencies": {
39-
"@types/react-dom": "^18.2.4",
39+
"@types/react-dom": "^18.2.4 || ^19.0.0",
4040
"typescript": "^5.0.0"
4141
}
4242
}

packages/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
"version": "npm pkg set dependencies.laravel-precognition=$npm_package_version"
2828
},
2929
"peerDependencies": {
30-
"react": "^18.0.0"
30+
"react": "^18.0.0 || ^19.0.0"
3131
},
3232
"dependencies": {
3333
"laravel-precognition": "0.5.14",
3434
"lodash-es": "^4.17.21"
3535
},
3636
"devDependencies": {
3737
"@types/lodash-es": "^4.17.12",
38-
"@types/react": "^18.2.6",
38+
"@types/react": "^18.2.6 || ^19.0.0",
3939
"typescript": "^5.0.0"
4040
}
4141
}

0 commit comments

Comments
 (0)