react-image-magnify
react-image-magnify copied to clipboard
Update Package.json
A project I am working with uses React 17. As far as I can tell there are no issues when running this with react 17. This change makes it so NPM doesn't yell at you.
I am using React 17 as well, with no problems. However, EnlargedImage.js uses componentWillReceiveProps and this is deprecated and according to the official site it will continue to work until React 17 (https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops). It might be a good idea to update it.
Hi. Can someone merge this into main? React 17 has been out long enough. The checks above are not failing on the tests but on Coveralls. @ethanselzer