"Gsap react reverse not working" is a common google search because while GSAP is pretty straightforward when it is incorporated with React it may have some areas that can trip you up. For example, making sure the animation timeline doesn't continue to clone itself as components mount or state changes.
In this tutorial you will learn a very common use case, On click, play an animation and then reverse it on same click.
CONNECT ON MY DISCORD:
https://discord.gg/5zsdrxH8m8
Twitter:https://twitter.com/omarel
GitHub: https://github.com/oelbaga
#gsap #react #reverse