How to do series/parallel animation in RNA2? #2011
Replies: 2 comments 1 reply
-
Any update on this? Kinda blocker for me. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hey! If someone is still looking for sequential animations, we have the withSequence function to achieve this behavior. I close this discussion as it seems that it refers to previous version of reanimated where |
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'm looking for the equivalent of
Animated.sequence
andAnimated.parallel
. So far from the docs for v2, I could only see thewithSequence
function that changes the value of only on value and therefore the style of only one component in series.What I was looking for was to trigger animations in two different components, either in series or in parallel.
For parallel, it seems changing values in statements one after another worked. Correct me if I'm wrong.
But for series, I need to have each animation inside a useTiming callback. Which leads to kind of callback hell.
Please help with the best practices in achieving this with reanimated 2.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions