Hey all! I’m pretty new to React and wondering what’s the proper way to do css animation/transitions for element re-rendering.
I don’t know about the “correct” way, but I know that applying a class that wasn’t previously applied to an element in a render() method will trigger an animation. That’s what I’ve been doing. I also would like to know if there is a more orthodox way to do this.
Actually, I just realized I was trying to animate gradients which isn’t possible by itself