react-svg-morph
react-svg-morph copied to clipboard
Unsafe ComponentWill... lifecycle methods
Code at issue: https://github.com/gorangajic/react-svg-morph/blob/master/src/MorphReplace.js#L26, among others.
- https://reactjs.org/docs/react-component.html
- https://hackernoon.com/problematic-react-lifecycle-methods-are-going-away-in-react-17-4216acc7d58b
Syntactically speaking, the methods as you have implemented them currently will no longer function as of React 17. You will at least need to use the UNSAFE variants, although I recommend not using them at all, or just using componentDidUpdate.
Thank you for reporting this. Currently, I don't use this lib in any active project. So, if you want to create that fix I will be more than happy to review your pull request and release that change.