Skip to content

Commit

Permalink
Unlock peer dependency on React to allow v17
Browse files Browse the repository at this point in the history
* Fix to remove 15, which didn’t work anymore: this would normally be
  breaking (and we take deprecating older versions seriously), but as
  it didn’t work before, this change instead catches problems earlier
* Allow React 17 (and later) as a peer dependency: we can’t actually
  add code to test this yet because we’re waiting for our test
  frameworks to update too (see GH-498), but checking locally React 17
  seems supported

Related to: GH-498.
  • Loading branch information
wooorm committed Nov 19, 2020
1 parent 816a52b commit bb0bdde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"xtend": "^4.0.1"
},
"peerDependencies": {
"@types/react": "^15.0.0 || ^16.0.0",
"react": "^15.0.0 || ^16.0.0"
"@types/react": ">=16",
"react": ">=16"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
Expand Down

0 comments on commit bb0bdde

Please sign in to comment.