Hello!
I'm currently working on an animation with react and gsap.
i'm trying to animate svg with gsap and react. i'm pretty close to the result but there is something i cant figure out:
You can see my sample here: https://codesandbox.io/s/sharp-tree-jmswz
When i hover a text, i only want to animate the hover one. but now every text are animating.
I know its expected because they have all the same ref.
I dont understand how to puts the refs dynamicaly (my data will be avaible through an API) to manage to animate only the one i'm hover on.
i hope i'm clear in what i'm asking, and i'm sorry for my english. i only speak geek english so i'm in panic when i have to write in english )
thanks!
Victor