Hey !
I'm experimenting GSAP3 with React Hooks - that I learn everyday.
And as a beginner, I just want to know if my code is ok or not.
The animation is very easy, but I'm worried about the useEffect and useRef utilisation with GSAP and even if the animation's working, I'm interested to write the best code I could.
Here's the example I made.
If someone had a few minutes to take a look, it would be very kind!
Thanks a lot, and have a great day!
Laurie