Animated.sequence versus Animated.parallel
Composing multiple animations.
sequence runs animations one after another in order, parallel starts them at the same time.
thinking parallel waits for the slowest before others begin, or confusing them with stagger.
What's really being asked
Whether you understand the animation composition helpers and can pick the right one for a given motion design, rather than chaining callbacks by hand.
The full answer
Animated.sequence accepts an array of animations and runs them strictly in order, starting the next only when the current one calls back as finished. Animated.parallel accepts an array and starts every animation at the same moment; the composite finishes when the last child finishes, and by default if one is stopped the others stop too unless you pass stopTogether false. Both return a composite animation object with start and stop, so you call .start() once on the wrapper. You should also mention Animated.stagger, which is like parallel but with a fixed delay between each start.
The mistakes people make
Saying parallel runs animations one after another, which is actually sequence. Confusing parallel with stagger. Forgetting that you call start on the composite, not on each child. Believing sequence needs manual completion callbacks; the helper handles chaining internally.
What usually comes next
How does stagger differ, how do you stop a running composite, what happens if one animation in a parallel set is interrupted, and can you nest sequence inside parallel.
A concrete example
A sequence use case: a toast that first slides up from the bottom, then after settling pulses its scale to draw attention, then waits and slides away; each phase must wait for the prior one. A parallel use case: a modal card that simultaneously fades its opacity from 0 to 1 while scaling from 0.9 to 1.0, so both transforms feel like one unified entrance. Nesting is allowed, so you can run a parallel group as one step inside a larger sequence.
Interview question
You want a card to fade in and scale up at the same time as a single visual entrance. Which composition helper fits, and why not the other?
- a.Animated.sequence, because it groups related animations together
- b.Animated.parallel, because it starts both the opacity and scale animations simultaneouslyCorrect
- c.Animated.stagger, because it guarantees both finish at the same instant
- d.Animated.delay, because it synchronizes the two values
Why? this is the answer
Parallel starts all child animations at once so fade and scale read as one entrance. Sequence would run them one after the other, and stagger intentionally offsets the start times.
Just read this? Test yourself on what you have been reading.
Read the original → reactnative.dev
- #react-native
- #animated-api
- #animation
- #composition
- #ui
Put your scrolling time to good use
Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.
The iPhone app is on the way
We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.
Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.
We are hiring for this. Open roles that interview on react-native — each one lists the topics its interview covers.
See open roles