Skip to content

Commit

Permalink
updates minimum React version to 18 (#11689)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence authored Jun 20, 2024
1 parent 06f6e30 commit c3d7889
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/red-olives-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"react-router-dom": major
"react-router": major
---

updates the minimum React version to 18
4 changes: 2 additions & 2 deletions packages/react-router-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"react-dom": "^18.2.0"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
"react": ">=18",
"react-dom": ">=18"
},
"files": [
"dist/",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"react-dom": "^18.2.0"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
"react": ">=18",
"react-dom": ">=18"
},
"peerDependenciesMeta": {
"react-dom": {
Expand Down

0 comments on commit c3d7889

Please sign in to comment.