Legacy React.Component lyfecycle callbacks

Author: JakubKubistaCreated Apr 4, 2020Updated Sep 25, 2024

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.

Source: oblador/react-native-animatable