aaronshaf / react-toggle

Elegant, accessible toggle component for React. Also a glorified checkbox.
http://aaronshaf.github.io/react-toggle/
MIT License
945 stars 159 forks source link

Is this React 16 ready? #139

Open joetidee opened 5 years ago

joetidee commented 5 years ago

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

jpsear commented 4 years ago

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: https://github.com/aaronshaf/react-toggle/pull/140, but it's not been merged...

JackHowa commented 4 years ago

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