Skip to content

Commit

Permalink
Add React 19 stable as peer dependency for React integration (#12678)
Browse files Browse the repository at this point in the history
* Add React 19 as peer dependency

* Add React 19 as peer dependency

---------

Co-authored-by: bskimball <[email protected]>
  • Loading branch information
bskimball and bskimball authored Dec 11, 2024
1 parent 2aaed2d commit 97c9265
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/tame-countries-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/react': minor
---

Add React 19 stable to peer dependencies
8 changes: 4 additions & 4 deletions packages/integrations/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@
"react-dom": "^18.3.1"
},
"peerDependencies": {
"@types/react": "^17.0.50 || ^18.0.21",
"@types/react-dom": "^17.0.17 || ^18.0.6",
"react": "^17.0.2 || ^18.0.0 || ^19.0.0-beta",
"react-dom": "^17.0.2 || ^18.0.0 || ^19.0.0-beta"
"@types/react": "^17.0.50 || ^18.0.21 || ^19.0.0",
"@types/react-dom": "^17.0.17 || ^18.0.6 || ^19.0.0",
"react": "^17.0.2 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.2 || ^18.0.0 || ^19.0.0"
},
"engines": {
"node": "^18.17.1 || ^20.3.0 || >=22.0.0"
Expand Down

0 comments on commit 97c9265

Please sign in to comment.