aaronshaf/react-toggle

use of PureComponent requires updated peerDependency for react >= 15.3.0

thom-nic opened this issue · 0 comments

I just got bit when npm install installed react-toggle v2.2.1 but we're still using react v15.0 which is incompatible due to use of PureComponent. It looks like PureComponent was added in react v15.3. So this package's peerDependency needs to read "react": "^15.3.0"

Also it seems v2.2.1 is published on npm but it is not tagged on github or changelog updated.