aaronshaf/react-toggle

Is this React 16 ready?

joetidee opened this issue · 2 comments

Noticed that in devDependencies that this is using React 15.3.1, so is it being tested with React 16 at all?

We're using this with React 16 without issue.

However, there is now a warning being issued, due to the use of the soon to be deprecated componentWillReceiveProps (https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html)

It looks like there is a PR to fix it here: #140, but it's not been merged...

Looks like it's been merged and published. Working for me locally with 4.1.1 without any deprecation warnings