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-10-19.

1 breaking2 new APIs and options1 performance1 behavior and defaults9 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

@react-spring/web 1014 changes

Breaking changes 1

  • 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

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 9

  • 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