Hi there,
I'm new with gsap, and I would love to integrate it with my react projects.
For what I understood, to use gsap to animate my elements, I need first to target them with ref and useRef(), I was wondering in case I need to create a grid based on data coming from an api call, let's say a not definied number of tiles with images, and I want them to appear with a staggered animation, how should I proceed ?
I am a bit confused because I don't know how to target them with useRef()
I hope that my question makes sense, in case I'm happy to clarify
Cheers