felippenardi/lottie-react-web

Warning - componentWillUpdate has been renamed, and is not recommended for use

skoruba opened this issue · 1 comments

Hello @felippenardi

after using this library with React 17, I've got the warning:

componentWillUpdate has been renamed, and is not recommended for use

* Move data fetching code or side effects to componentDidUpdate.
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: Lottie

Do you plan to fix it?
Thanks!

Any update an this?