unstale

npm / @react-spring/web

@react-spring/web

What changed in @react-spring/web 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

2 breaking2 new APIs and options1 performance1 behavior and defaults16 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@react-spring/web 1022 changes

Breaking changes 2

  • The SpringValue-level onChange callback now receives an AnimationResult instead of the raw value, so result.value is available mid-animation.

    10.1.2release notes

  • useResize now reports border-box dimensions.

    10.0.4release notes

New APIs and options 2

  • Exposes the new phase to the useTransition render function.

    10.1.0release notes

  • Adds a reverse prop to useTransition.

    10.1.0release notes

Performance 1

  • String interpolation with large amounts of data is faster because output number parsing is cached in createStringInterpolator.

    10.1.2release notes

Behavior and default changes 1

  • useTransition now auto-starts when its props are provided as a function.

    10.1.1release notes

Fixes and other changes 16

  • When from is partial, the inferred animated keys now include to, forward props, and transition-phase values, preventing animated keys from being dropped from the result type.

    10.1.2release notes

  • Adaptive precision is floored at float resolution so springs can settle when drift falls below that precision.

    10.1.1release notes

  • The parallax container is pinned to the top-left to prevent a double scrollbar.

    10.1.1release notes

  • The string interpolator is guarded against output values that contain no numbers.

    10.1.1release notes

  • Preserves velocity across retargets for decay animations.

    10.1.0release notes

  • Stops superseded loop chains when a component re-renders.

    10.1.0release notes

  • Fires when an animation is cancelled before its first frame.

    10.1.0release notes

  • Preserves decimal precision in string interpolation.

    10.1.0release notes

  • The style key regex now exact-matches transform function names.

    10.1.0release notes

  • Animated attributes are removed when their value is undefined.

    10.0.4release notes

  • Async script to animations now run to completion under skipAnimation.

    10.0.4release notes

  • Fixed events not firing when a SpringRef is attached manually under StrictMode.

    10.0.4release notes

  • Fixed stale updates being cleared in the useSprings layout effect.

    10.0.4release notes

  • Fixed phase synchronization for useTrail children on loop iterations.

    10.0.4release notes

  • Fixed exitBeforeEnter not working when useTransition is used with trail.

    10.0.4release notes

  • Adds support for React 19, allowing developers to use @react-spring/web with React 19.

    10.0.0release notes