Skip to content

Commit bb0bdde

Browse files
committed
Unlock peer dependency on React to allow v17
* 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.
1 parent 816a52b commit bb0bdde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
"xtend": "^4.0.1"
5050
},
5151
"peerDependencies": {
52-
"@types/react": "^15.0.0 || ^16.0.0",
53-
"react": "^15.0.0 || ^16.0.0"
52+
"@types/react": ">=16",
53+
"react": ">=16"
5454
},
5555
"devDependencies": {
5656
"@babel/cli": "^7.0.0",

0 commit comments

Comments
 (0)