Replies: 1 comment
-
If i recall, you should be able to do I suppose we could also create a method of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've created a list of animated cards with
useSprings
and was wondering what the best way to target the animation a card at a specific index would be (i.e. clicking a button to make card #3 animate)?Currently my solution is just:
Is there a better way to do this? I don't really like the idea of having to iterate through every item in the list and manually check if
i
is equal to my desired index.Beta Was this translation helpful? Give feedback.
All reactions