GSAP with React.js
问题 I encounter this problem. I use GSAP in react project to do some complicated animation. I want to ask that how can I clear the style applied on the DOM whenever the component re-render. It still keeps the old state which is the tl.reverse(). I set it it to Null again and re-define but i doesnt work. I'm also new to react. Below is code. Hope anyone can help componentDidMount () { this.menu_init() this.cta_animation_init() // this.cta_animation_active() this.hover_effect() $(window).on('scroll