Skip to content

Commit

Permalink
Upgrade to React 16 (ianstormtaylor#1178)
Browse files Browse the repository at this point in the history
* Allow React 16 in peerDeps and use it for dev

* Make tests pass with React 16

Changes are cosmetic:
- React 16 no longer adds a trailing `;` to `style` attributes
- React 16 outputs `0` and not `0px` for sizes in `style`
  • Loading branch information
renchap authored and ianstormtaylor committed Oct 13, 2017
1 parent acf8a63 commit d1e54a4
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 @@ -18,7 +18,7 @@
},
"peerDependencies": {
"immutable": "^3.8.1",
"react": "^0.14.0 || ^15.0.0"
"react": "^0.14.0 || ^15.0.0 || ^16.0.0"
},
"devDependencies": {
"babel-cli": "^6.10.1",
Expand Down

0 comments on commit d1e54a4

Please sign in to comment.