dx: Upgrade from legacy method UNSAFE_componentWillMount
With this MR, I remove the usage of React's legacy method componentWillMount
and move the animations' initialization logic to the constructor as recommended by React's documentation.
I tested the slides are still working correctly on a Pixel 4 with Android 11.
Note: please merge after MR !151 (merged)
Edited by David Gomez