Skip to content
This repository was archived by the owner on Aug 1, 2022. It is now read-only.

Commit 6d14f27

Browse files
authored
Allow React 17 as peer dependency (#123)
React 17 has been around for a little bit. I'm using it in a new project and would like to use this library, but the `peerDependencies` are too restrictive. The release notes suggest that there should be exceeding few breaking changes between React 16 and 17, so I believe this is a safe change: https://reactjs.org/blog/2020/10/20/react-v17.html
1 parent 21291a3 commit 6d14f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"resize-observer-polyfill": "^1.5.0"
3030
},
3131
"peerDependencies": {
32-
"react": "16.x"
32+
"react": "16.x || 17.x"
3333
},
3434
"devDependencies": {
3535
"all-contributors-cli": "^6.15.0",

0 commit comments

Comments
 (0)