react-toggle icon indicating copy to clipboard operation
react-toggle copied to clipboard

Is this React 16 ready?

Open joetidee opened this issue 6 years ago • 2 comments

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

joetidee avatar Aug 20 '19 21:08 joetidee

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...

jpsear avatar Sep 12 '19 11:09 jpsear

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

JackHowa avatar Oct 10 '19 22:10 JackHowa