Skip to content

Commit

Permalink
chore(clerk-react,nextjs,shared): Allow react and react-dom 19.0.0-be…
Browse files Browse the repository at this point in the history
…ta (#3428)
  • Loading branch information
nikosdouvlis authored May 22, 2024
1 parent 8e5969d commit 0e48fc2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .changeset/hot-phones-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@clerk/nextjs": patch
"@clerk/clerk-react": patch
"@clerk/shared": patch
---

With the next major release, NextJS@15 will depend on `react` and `react-dom` v19, which is still in beta. We are updating our peer dependencies accordingly in order to accept `react` and `react-dom` @ `19.0.0-beta`
4 changes: 2 additions & 2 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
},
"peerDependencies": {
"next": "^13.5.4 || ^14.0.3",
"react": ">=18",
"react-dom": ">=18"
"react": ">=18 || >=19.0.0-beta",
"react-dom": ">=18 || >=19.0.0-beta"
},
"engines": {
"node": ">=18.17.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
"typescript": "*"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
"react": ">=18 || >=19.0.0-beta",
"react-dom": ">=18 || >=19.0.0-beta"
},
"engines": {
"node": ">=18.17.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@
"typescript": "*"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
"react": ">=18 || >=19.0.0-beta",
"react-dom": ">=18 || >=19.0.0-beta"
},
"peerDependenciesMeta": {
"react": {
Expand Down

0 comments on commit 0e48fc2

Please sign in to comment.