Skip to content

Motion and React Spring (React) ​

React's two dominant animation libraries, both of which move per-frame values out of React's render: Motion (formerly Framer Motion) pairs declarative animate/exit targets with a FLIP layout engine that snapshots the DOM in getSnapshotBeforeUpdate and re-measures in a microtask after commit, while React Spring makes every value a spring integrated in its own requestAnimationFrame loop and keeps leaving items alive by diffing key sets.

FieldValue
LanguageTypeScript (React 18/19 bindings; Motion's engine, motion-dom, is framework-free)
LicenseMIT (Motion LICENSE.md; React Spring LICENSE)
Repositorymotiondivision/motion: packages/motion-dom, packages/framer-motion; pmndrs/react-spring: packages/core, packages/rafz, packages/animated
Documentationmotion.dev/docs · react-spring.dev/docs (its MDX sources live in the repository under docs/app/routes)
Categorydeclarative-target components over mutable, React-external animated values; Motion adds measured layout projection, React Spring is physics-first
Versions surveyedMotion 14.14.0 (motion and framer-motion packages) at commit 1fa0e14 (2026-11-24); React Spring 11.0.0-beta.3 (main) at commit f005007 (2026-11-26)
Animation state lives inmutable value objects outside React state — Motion's MotionValues, owned by a per-element VisualElement and, for layout, a per-element projection node; React Spring's SpringValues grouped by a Controller. Presence state (which keyed children are exiting) lives in React state inside AnimatePresence / the hook

NOTE

This page reads both libraries for two questions in sparkles:ui: where a layout animation takes its before and after geometry in a framework that re-renders by description (UI-Q9, PR #775), and how a child removed from the description keeps painting until its exit finishes (UI-Q10). The platform primitives Motion compiles down to are on Web Animations and CSS Transitions and Animations; the same questions for a retained UI toolkit are on SwiftUI and Core Animation. Vocabulary is defined on Concepts. Every source link is pinned to the commits above.


Overview ​

What it solves ​

React re-runs a component function to produce a new element tree, then reconciles and commits it to the DOM. Driving an animation through that cycle — setState sixty times a second — re-renders and re-reconciles a subtree per frame, and React has no notion of a removed child that should stay on screen, nor of where an element was before a commit moved it. Both libraries solve the first problem the same way: the animated value is a mutable object that writes to the DOM node directly. Motion's docs say so in one line: "Changes to the motion value will update the DOM without triggering a React re-render" (Motion values); React Spring's: "during the process of wrapping the element in the animated HOC we attach a ref to the element. We are then able to directly change the DOM node imperatively" (docs.concepts.animated-elements.mdx).

They then diverge. Motion attacks the other two problems — layout and exit — with a projection engine and AnimatePresence; React Spring stays a value-animation library and provides presence through keyed hooks (useTransition, superseded on main by usePresenceList/usePresence).

Design philosophy ​

  • Motion: declare the target, the engine picks the means. "When values passed to animate change, the element will automatically animate to that value" (Animation); physical values default to springs, others to tweens, and values the browser can composite run as Web Animations. Layout changes are animated by measurement, not by declaring geometry: "Motion performs all layout animations using the CSS transform property for the highest possible performance" (Layout animations).
  • React Spring: physics, not curves. The config docs quote Andy Matuschak: "Animation APIs parameterized by duration and curve are fundamentally opposed to continuous, fluid interactivity." and add "Springs don’t have a defined curve or a set duration" (docs.advanced.config.mdx). Durations exist (config.duration + easing), but the default is a tension/friction spring.
  • Both: React renders the description once; a frame loop owns the rest. Each library has its own batched requestAnimationFrame loop that reads, integrates and writes outside React, and calls back into React only at lifecycle boundaries (an exit finished, a leave expired).

How it works ​

Motion: motion.div, VisualElement and MotionValue ​

A motion.div renders a plain div plus a VisualElement (the per-element animation node) created in useVisualElement. Its initial/animate/exit/whileHover props are declarative targets; on each commit animationState.animateChanges() diffs them against the previous render's and starts animations for changed keys (use-visual-element.ts):

tsx
<motion.div
  initial={{ opacity: 0, y: 20 }}
  animate={{ opacity: 1, y: 0 }}
  exit={{ opacity: 0 }}
  transition={{ type: 'spring', stiffness: 300, damping: 30 }}
/>

Every animated key is a MotionValue — "used to track the state and velocity of motion values" (value/index.ts). set updates the value and notifies subscribers; the VisualElement subscribes and, rather than re-rendering, queues a write and asks its node to be flushed in the frame loop's render step (MotionNode.requestFlush, MotionNode.ts). Only one animation drives a value at a time: run calls this.stop() first (value/index.ts). User-held values come from useMotionValue (a useConstant, so a stable object across renders; it only forces re-renders in Framer's static canvas mode, use-motion-value.ts), useTransform (a derived value) and useSpring (a value that springs toward its source, use-spring.ts).

The frame loop, frame, is a batcher over requestAnimationFrame with fixed steps setup → read → resolveKeyframes → preUpdate → update → preRender → render → postRender (order.ts); each step runs every callback queued for it, then the next, so all DOM reads in a frame precede all writes. The loop re-books itself only while some step asked to keep running (batcher.ts). A second batcher with the same steps runs on queueMicrotask (microtask.ts) — the layout engine uses it to run between React's commit and the browser's paint.

Motion: the hybrid engine ​

Each value animation is started by startValueAnimation (multi-value.ts). A value whose name is in acceleratedValues — opacity, clipPath, filter, transform — on an HTMLElement/SVGElement, with no onUpdate callback and no custom mixer, is played as a Web Animation; the list's comment explains why colours are excluded: "WAAPI mixes them in sRGB, but JS animations (and the sampler that estimates a WAAPI value on interrupt) mix them in linear color space, so interrupting one would visibly jump" (accelerated-values.ts; gate in supports/waapi.ts). Everything else is a JSAnimation stepped in the frame loop. A spring sent to WAAPI is serialised by its own toString, which samples the generator into a CSS linear() easing (spring.ts) — the spring is precomputed, so a WAAPI spring must start from a known velocity.

Motion: layout projection ​

A motion element with layout (or layoutId) gets a projection node; nodes form a tree mirroring the DOM ancestry of projecting elements. The measurement protocol is driven from a class component, MeasureLayout, precisely because it needs React's pre-commit hook — getSnapshotBeforeUpdate has no hooks equivalent:

React phaseMotion callWhat happens
render (user code)nothingMeasureLayout.render returns null; components never see geometry
commit, before DOM mutationgetSnapshotBeforeUpdate → projection.willUpdate() (source)marks the node and its ancestors layout-dirty, starts a root update, and calls updateSnapshot(), which measures the old DOM with getBoundingClientRect (via measurePageBox, measure.ts), removes the element's current transform by calculation, and records the in-flight velocity of the running layout animation in the snapshot (willUpdate, updateSnapshot). Skipped unless layoutDependency changed or is undefined, or presence changed
commit, after DOM mutation (componentDidUpdate)projection.root.didUpdate() (source)schedules update() with microtask.read — once per root per commit (didUpdate)
microtask after commit, before paintroot update() (source)write: resetTransformStyle on every dirty node; read: updateLayout measures the new layout (measure(false), updateLayout); write: notifyLayoutUpdate computes the delta from snapshot to layout and starts the animation (notifyLayoutUpdate); then flushFrame() applies the first projected frame synchronously — "Ideally we could leave this to the following requestAnimationFrame but this seems to leave a flash of incorrectly styled content"
every following framestartAnimation → a JSAnimation of a progress value 0→1000 (source)mixTargetDelta(progress) interpolates the target box; calcProjection turns target vs. layout into a translate/scale delta per axis; the render step writes transform built by buildProjectionTransform

So the element is laid out at its new position from the commit on, and painted at its old one by an inverse transform that decays to identity — FLIP, with "First" taken inside React's commit before mutation and "Last" in a microtask after it. Because the progress animation has an onUpdate, it fails the WAAPI gate and is stepped in JS every frame; the compositor only composites the resulting transform.

Two corrections make a scaled box look right. Children: a child's projection divides its translation by the accumulated treeScale of projecting ancestors and counter-scales, so it is not stretched by its parent's scale() (buildProjectionTransform) — and a child with layout of its own animates relative to its parent's box. Styles: borderRadius and boxShadow are rewritten each frame by scale correctors; border radius is expressed as a percentage of the current target box, "to reduce paints" (scale-border-radius.ts, default-scale-correctors.ts). The docs state the precondition: "Motion automatically corrects for scale distortion on these properties, but they must be set on the element via style" (Layout animations).

Shared layout. layoutId registers a node in a per-id stack on the root. When a new element with the same layoutId mounts as another unmounts (or is relegated), the new lead's resumeFrom is the old one, and notifyLayoutUpdate animates from the old element's snapshot to the new element's layout — "If the original component is still on the page when the new one enters, they will automatically crossfade" (Layout animations; switchLayoutId). LayoutGroup puts nodes in a nodeGroup: when any member fires willUpdate, every other member snapshots too, so siblings in separate React subtrees that re-render independently still animate together (group.ts).

Motion: AnimatePresence ​

AnimatePresence keeps two pieces of React state, diffedChildren and renderedChildren. On a render where the present children differ, it walks the previously rendered children and splices any whose key is no longer present back into the list, right after the child they followed, then re-renders (AnimatePresence/index.tsx). Each child is wrapped in a PresenceChild that publishes isPresent through PresenceContext. A removed child is therefore the retained React element from its last present render, still mounted, still a live component — but with frozen props: "When a component has been removed from the React tree, its props can no longer be updated", hence the custom prop (AnimatePresence).

When isPresent flips to false, the exit feature calls animationState.setActive("exit", true) and, when that promise resolves, onExitComplete(id) (exit.ts); custom components do the same by hand with usePresence(), which returns [false, safeToRemove] (use-presence.ts). When every exiting key has reported, AnimatePresence re-diffs with the exiting children dropped (source). Modes: sync (exit and enter together), wait (render only the exiting children until they finish), and popLayout, where PopChild — again a class component using getSnapshotBeforeUpdate — measures the exiting element's offset box and injects a position: absolute rule so siblings reflow immediately (PopChild.tsx). An exiting element is also made inert (source). Layout-projected exits are coordinated with MeasureLayout: presence change forces a snapshot, and relegate() hands a shared-layout exit to the next stack member.

React Spring: SpringValue, Controller and hooks ​

useSpring(props) creates a Controller holding one SpringValue per key and returns the values (an animated.div takes them as style). useSprings is n controllers, useTrail n controllers with staggered delays, useChain(refs, timeSteps, timeFrame) starts several SpringRefs in sequence (useChain.ts). The imperative surface is the same objects: api.start({ to }), SpringValue.set, SpringRef.

animated(Component) attaches a PropsObserver to the values it was given; a change event schedules raf.write(update), and update calls the target's applyAnimatedValues(instance, values) — on the web target, a direct style write — falling back to forceUpdate() only when the native write fails (withAnimated.tsx, PropsObserver).

SpringValue.advance(dt) integrates each numeric component with explicit Euler in 1 ms sub-steps (source):

ts
// packages/core/src/SpringValue.ts — spring branch of advance()
const springForce = -config.tension * 0.000001 * (position - to);
const dampingForce = -config.friction * 0.001 * velocity;
const acceleration = (springForce + dampingForce) / config.mass; // pt/ms^2
velocity = velocity + acceleration * step; // pt/ms
position = position + velocity * step;

config takes tension/friction/mass (presets default: { tension: 170, friction: 26 }, gentle, wobbly, stiff, slow, molasses, constants.ts), or frequency/damping from which tension and friction are derived (AnimationConfig.ts), or duration + easing (a tween), or decay (inertia). Optional bounce and clamp change what happens at the target.

React Spring: the frame loop and Globals ​

rafz is a tiny scheduler with update, write, onStart, onFrame, onFinish queues, flushed in that order each tick; dt is clamped to 64 ms (rafz/src/index.ts). raf.frameLoop is 'always' (book native requestAnimationFrame while work is pending) or 'demand' (never book; the host calls raf.advance() and is told via onDemand when work arrives — how @react-spring/three lets react-three-fiber own the render loop, source). The loop stops itself when no task is pending. Globals.assign sets process-wide knobs: now, requestAnimationFrame, frameLoop, skipAnimation, onDemand (globals.ts). With skipAnimation, SpringValue._start jumps to the goal and "avoids the frameloop" (source).

React Spring: presence ​

useTransition(items, { keys, from, enter, update, leave }) gives each key a TransitionState with a Controller and a phase from TransitionPhase — mount, enter, update, leave (TransitionPhase.ts). Each render maps old transitions to new indices by key, inserts new keys with phase mount, and re-inserts removed keys next to their old neighbour while leave is configured (useTransition.tsx); the phase machine moves mount→enter, a present key to update, a missing key to leave, and a leaving key that reappears back to enter (source). When a leaving controller goes idle, the transition is marked expired and a forceUpdate() re-renders without it (source). The leaving item is retained as data (t.item), and the user's render function is called again for it each render with the leave springs.

On main, both are deprecated — "useTransition and <Transition> are deprecated. Use usePresenceList for lists and usePresence for a single element shown by a boolean" (docs.components.use-transition.mdx) — and the diff is now a separate pure function, diffPresence(prev, items, keys, opts), returning the next entry list, a per-key change map (mount | enter | update | leave) and the keys held back by mode: 'wait' (presenceDiff.ts).


Analysis ​

Where animation state lives ​

Both libraries put animation state in mutable objects that React does not see: Motion's MotionValue (current value, previous frame value, timestamps for velocity, the one driving animation) owned by a VisualElement, plus — for layout — a projection node holding snapshot, layout, target, deltas and treeScale; React Spring's SpringValue with an Animation record (fromValues, toValues, per-component AnimatedValue nodes carrying lastPosition, lastVelocity, elapsedTime). These objects are identity-keyed by the React fiber that created them (useConstant/useRef). Presence state — which keys are exiting and whether they have finished — is ordinary React state inside AnimatePresence (renderedChildren, exitComplete) or the presence hook (TransitionState[] in a ref).

Declaring an animation ​

Motion is declarative and implicit at the component level: animate={…} is a target, and changing it between renders animates; initial, exit and gesture props (whileHover, whileInView) are additional targets selected by state; variants name targets and propagate through the tree. Layout is implicit in the strongest sense — layout declares no target at all, and any commit that moves the box animates. The imperative layer is MotionValue.set, animate(value, target, transition) and useAnimate. React Spring is declarative-target too (useSpring({ opacity: on ? 1 : 0 }) retargets when the prop changes), but its idiom leans imperative: useSpring(() => ({…})) returns an api and animations start from event handlers via api.start, never touching render. Neither library has a CSS-transition-style "animate whatever changed" for arbitrary props; only keys named in a target animate.

Time and the clock ​

Both own a requestAnimationFrame loop and stamp a frame with one timestamp. Motion's time.now() returns the frame timestamp while a frame is processing and otherwise caches performance.now() for the rest of the synchronous task ("Ensures that time measurements remain consistent within a synchronous context", sync-time.ts); MotionGlobalConfig.useManualTiming replaces wall time with a caller-set frameData.timestamp, and then "every animation runs in JS where processFrame can drive it" because WAAPI animations run on the browser's clock (supports/waapi.ts, global-config.ts). WAAPI-accelerated values therefore run on the document timeline, not Motion's — a second clock that Motion samples on interrupt. Scroll-linked values (useScroll) are MotionValues fed by scroll events, and a WAAPI-played animation can be attached to a native ScrollTimeline instead of the document timeline (NativeAnimation.attachTimeline). React Spring's rafz uses performance.now() (replaceable through Globals.assign({ now })) and integrates by dt, clamped to 64 ms per frame; in 'demand' mode the host owns the clock entirely.

Interruption and retargeting ​

Motion preserves velocity on interruption for value animations: a new animation reads value.getVelocity() (per second, from the last two frames, zero if the last update is older than 30 ms) unless the transition supplies velocity (multi-value.ts, getVelocity), and a running JS spring can be retargeted in place, keeping its resolved physics and taking the new velocity as its initial condition (spring.ts). Duration-based springs deliberately drop it: "A duration spring must end exactly at its duration, and it's settled from rest by then. Inherited velocity could leave it still moving, so it starts from rest" (source). A value playing on WAAPI cannot be retargeted in place; Motion estimates its current value with a JS sampler on interrupt (the reason colours are kept off WAAPI, accelerated-values.ts) and starts a new animation from there. Layout animations carry velocity across commits: updateSnapshot stores the running animation's per-edge velocity (and the x/y motion values' velocity) in the snapshot, and the next layout animation's springs start from it (updateSnapshot, setAnimationOrigin). The snapshot records both the measured (visual) box and a layout box with the element's own transform removed by calculation (measure), so an interrupted layout animation can start from where the element visibly is.

React Spring keeps velocity by construction: each AnimatedValue holds lastVelocity, which reset() clears only if the previous animation had finished (if (done) this.lastVelocity = null, AnimatedValue.ts), so a mid-flight goal change continues integrating from the current position and velocity. An explicit config.velocity is zeroed on each new to/from unless decay is set, to avoid wiping fling momentum (source). A mid-flight retarget fires onStart again and not onRest. Neither library composes animations additively on one value; one animation owns a value at a time.

Curves and springs ​

Motion defaults to springs for physical values (x, scale, layout) and tweens for others ("Physical properties like x or scale are animated with spring physics", Animation). Its spring is solved analytically (under-, critically and over-damped closed forms, spring.ts) and accepts two parametrisations: stiffness/damping/mass, or duration/visualDuration + bounce, where bounce maps to a damping ratio "as SwiftUI does" (source); explicit physics overrides duration/bounce. Tweens take duration + ease (cubic béziers, named curves, or linear() on WAAPI), and inertia handles flings. React Spring integrates numerically (1 ms explicit Euler) with tension/friction/mass or frequency/damping, settling when |v| falls below restVelocity and |to − x| below precision; duration switches the value to an eased tween; decay decelerates exponentially. Neither exposes the curve of a spring ahead of time except Motion's WAAPI path, which bakes it into linear().

Layout animation ​

Motion: FLIP via transform, user-invisible. First is measured in React's commit phase before DOM mutation (getSnapshotBeforeUpdate → willUpdate → updateSnapshot); Last in a microtask after componentDidUpdate (didUpdate → microtask.read → update() → updateLayout), after transforms are reset so the true layout box is read; Invert/Play runs as a JS animation in Motion's frame loop, written as transform in the render step and composited by the browser (table above). It needs the previous geometry, and gets it by measuring the DOM synchronously before React mutates it — not from a retained layout store; a second, forced-layout read follows after mutation, batched across all dirty nodes (all resets, then all reads, then all writes). Shared-element transitions (layoutId) take First from a different element's snapshot. The cost model is a forced synchronous layout per commit that touches a layout node, and a main-thread write per frame for the duration.

React Spring has no layout animation. Geometry can be animated only as ordinary values (width, height, x), typically after measuring with useResize/a ResizeObserver (useResize.ts) — the user brings both endpoints, and runs the measurement in user code.

Enter and exit ​

Motion retains the removed React element (its last-present description), keeps it mounted under a PresenceChild with isPresent: false, runs its exit target, and removes it when every motion/usePresence descendant has called back; the component still executes on re-render but cannot receive new props. Enter is initial → animate on mount; AnimatePresence initial={false} suppresses it for first-render children. A child that returns before its exit finishes is re-entered with the same component instance. React Spring retains the removed data item with its key and controller and re-invokes the user's render function for it each render with leave springs, until the controller is idle; diffPresence makes this a pure function of (previous entries, items, keys) — a set difference over keys, the leaving entries spliced after their old neighbour. Both libraries require stable keys for this, and both offer wait.

Scheduling, reduced motion and testing ​

Both loops run only while work is pending: Motion's batcher books the next frame only if a step was flagged keepAlive (batcher.ts); rafz stops when pendingCount reaches zero. Reduced motion differs in scope. Motion's MotionConfig reducedMotion="user" | "always" | "never" sets VisualElement.shouldReduceMotion from a matchMedia listener (VisualElement.ts, use-reduced-motion-config.ts), and then only positional keys — width, height, top/left/right/bottom and transforms (keys-position.ts) — are made instant ({ type: false }, visual-element-target.ts); "while preserving the animation of other values like opacity and backgroundColor" (Accessibility). useReducedMotion() exposes the raw preference. React Spring's useReducedMotion() subscribes to (prefers-reduced-motion) and sets the global skipAnimation, which makes every animation jump to its goal (useReducedMotion.ts). Testing: Motion's MotionGlobalConfig has skipAnimations, instantAnimations and useManualTiming (drive frames by hand) (global-config.ts); React Spring's testing guide prescribes Globals.assign({ skipAnimation: true }) (docs.guides.testing.mdx), and its own suite uses a vendored mock-raf (packages/mock-raf) plus frameLoop: 'demand' and raf.advance().

Lessons for sparkles:ui ​

  • Motion's FLIP needs a pre-mutation hook that sparkles does not need. Motion reaches into getSnapshotBeforeUpdate because the DOM is the only record of last frame's geometry. The sparkles:ui element store already holds last frame's committed rects keyed by identity, so First is a read, not a measurement, and Last is this frame's layout output; the inversion belongs after layout, before paint (UI-Q9). No component code needs the geometry.
  • Projection is a post-layout paint transform, and it has cost centres to copy deliberately: child counter-scaling by accumulated treeScale, per-property scale correctors (border radius as a percentage of the animated box, shadows), and velocity stored with the snapshot so an interrupted layout animation keeps its momentum. All of this is pure arithmetic over two rects and a velocity — expressible as @nogc store data.
  • Two exit models, and React Spring's fits better. Motion keeps a stale description alive (frozen props, still-running component); React Spring keeps the data and re-runs the user's builder with a leave phase. The latter maps onto a store-driven closing state (UI-Q10): the store remembers (key, phase, progress) for an identity that left the set, and the component is asked to build it once more in its closing phase — diffPresence is literally the identity-set difference sparkles already computes for lifecycle.
  • Velocity on retarget is cheap when the integrator owns lastVelocity. React Spring's per-node lastVelocity, cleared only when an animation finished, is the minimal state; Motion's analytic springs need velocity estimated from two samples and must special-case precomputed (WAAPI) curves.
  • Reduced motion should be per-property-class, not global. Motion's split (disable positional motion, keep opacity/colour) is more useful than React Spring's global skip; a deterministic clock for tests (useManualTiming, frameLoop: 'demand' + advance) is the same idea as a host-owned frame clock.

Strengths ​

  • Both move per-frame work off React's render entirely; the description is rebuilt only when targets change.
  • Motion's layout animation needs no geometry from the author, handles nesting (scale correction), shared elements (layoutId) and cross-subtree coordination (LayoutGroup), and preserves velocity across interrupted layout changes.
  • Motion's hybrid engine offloads transform/opacity/filter/clipPath to WAAPI and the compositor when nothing needs per-frame JS.
  • React Spring's physics is simple, stateful and always interruptible with momentum; frameLoop: 'demand' lets another renderer own the clock.
  • React Spring's diffPresence is a pure, testable key-set diff.

Weaknesses ​

  • Motion's layout engine depends on class-component lifecycles and forced synchronous layout reads in every relevant commit; it is tightly coupled to React's commit ordering and to the DOM as the geometry store.
  • Layout animations are JS-stepped transforms (the progress value has an onUpdate), so they stall with the main thread even though they only write transform.
  • AnimatePresence children cannot receive new props while exiting (custom is the workaround); exits require stable keys on direct children.
  • React Spring has no layout/FLIP support; geometry animation is user-measured.
  • React Spring's skipAnimation is a process-wide flag — reduced motion and test mode are all-or-nothing.

Key design decisions and trade-offs ​

DecisionRationaleTrade-off
Animated values are mutable objects that write the DOM directlyavoids a React render per framevalues are invisible to React; reading them in render is a stale snapshot
Motion: snapshot in getSnapshotBeforeUpdate, re-measure in a microtask after committhe DOM before mutation is the only place last frame's geometry existsa forced layout per commit; class-component dependency; ordering coupled to React's commit
Motion: animate layout as an inverse transform, with scale correctorstransform is compositor-cheap; no relayout per framedistortion of children and radii must be corrected per frame in JS; corrected styles must be set via style
Motion: WAAPI for accelerated values, JS for the restoff-main-thread playback when possibletwo clocks; springs on WAAPI are precomputed linear() curves and must be sampled on interrupt
Motion: retain the removed React element until exit completesthe exiting subtree keeps its components, refs and effectsfrozen props; exit coordination through context callbacks
React Spring: physics-first, Euler-integrated springscontinuous retargeting with momentum, no duration to reconcileno closed form, so no compositor offload or precomputed curve
React Spring: retain the data item, re-run the render functionthe leaving element is still described by user code, with a leave phaseuser code must handle being called for an item no longer in items
React Spring: global Globals (skipAnimation, frameLoop)one switch for tests, reduced motion and host-driven loopsprocess-wide; cannot reduce motion per subtree

Sources ​