Answer the question
In order to leave comments, you need to log in
js animation for React?
I would like to use libraries for animation in JS (not CSS).
If I get a reference to an element via ref and animate the DOM element or animate via the style object, is this normal practice or is there something better?
And when re-rendering, won't the consequences of the animation be reset (for example, the style of the DOM element)?
Answer the question
In order to leave comments, you need to log in
Tried React CSS Transitions?
https://www.npmjs.com/package/react-css-transition
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question