Skip to content

Commit

Permalink
chore: update React peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepinho committed Nov 15, 2017
1 parent 36f8372 commit 0436fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"prop-types": "^15.5.7"
},
"peerDependencies": {
"react": "*"
"react": "^16.0.0"
},
"devDependencies": {
"babel-cli": "^6.18.0",
Expand Down

2 comments on commit 0436fb5

@gsteinert
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just out of interest, is there anything in particular I need to look out for when using react-responsive alongside react@^15.0.0?

I'm using your lib alongside gatsby which at the current version hasn't been updated to require v16 of react. Looking at your commit message, it appears that this change was just a routine change to keep everything up to date (which is fine - I can just ignore the warning until gatsby catches up) I was just wondering if there was a particular issue this resolved.

Gary

@yocontra
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gsteinert 4.0 relies on react 16 fragments, you can use 3.0 with react 15 just fine - no feature differences.

Please sign in to comment.