finnfiddle / potion

React components for declaratively composing animated, interactive visualizations.
https://potion.js.org/
MIT License
184 stars 5 forks source link

componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details #12

Open tangrammer opened 4 years ago

tangrammer commented 4 years ago

Hi @finnfiddle :)

We've updated react to last version on akvo-lumen client and now we get this problem that I'd bet that comes from your lib 🤔

Please update the following components: _class

... Please update the following components: Text

I tried to run npx react-codemod rename-unsafe-lifecycles in your lib but the results are weird 😬

any ideas??

have a good day!

finnfiddle commented 4 years ago

Hi @tangrammer nice to hear from you. Thanks for reporting Ill take a look into it

finnfiddle commented 4 years ago

hey I looked into it but couldnt reproduce. Please could you provide a reproducible example/repo and I will sort it out. thanks