oblador / react-native-animatable

Standard set of easy to use animations and declarative transitions for React Native
MIT License
9.84k stars 701 forks source link

Legacy React.Component lyfecycle callbacks #310

Open JakubKubista opened 4 years ago

JakubKubista commented 4 years ago

Issue

It uses deprecated lyfecycle callbacks of React.Component, so there are issues like https://github.com/oblador/react-native-animatable/issues/276.

Solution

It would be the best if you could make an update with hooks.

Additional note

You need to explicitly tell which value you want to animate (e.g. opacity, translate etc.) and it would be much efficient to have some implicit (more automated) way.

willryanuk commented 1 month ago

@JakubKubista was there any ever solution to this? I really like the library, but issues like this make it hard to use in all instances.