Skip to content

Commit

Permalink
fix(graphiql): add react 17, 18 in peerDependencies (#1934)
Browse files Browse the repository at this point in the history
* fix(graphiql): add react 17, 18 in peerDependencies

* chore: add changeset
  • Loading branch information
tonyfromundefined authored Oct 29, 2021
1 parent 877a74a commit d3a8828
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/hungry-seals-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'graphiql': patch
---

add react 17, 18 in peerDependencies
4 changes: 2 additions & 2 deletions packages/graphiql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
},
"peerDependencies": {
"graphql": ">= v14.5.0 <= 15.5.0",
"react": "^16.8.0",
"react-dom": "^16.8.0"
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.4.0",
Expand Down

0 comments on commit d3a8828

Please sign in to comment.