Replies: 1 comment
-
Hey! I know that this question is quite old but your case seems to be ideal for layout animations. You can add If you have more questions, don't hesitate to ask. |
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
-
Hello! I made an animation of floating hearts, it works fine. But since I use useState it blocks the JS thread. On every click I update the array and when the animation ends I remove that element. So if I press quickly it starts to lag. Do you have any idea how to handle the array? "Worklet" doesn't help, or I'm using it incorrectly. Any ideas?
Example:
Beta Was this translation helpful? Give feedback.
All reactions