Packages

@react-spring/web

10.1.2 · 24 Jun 2026MIT6.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @react-spring/web From 10.0.4 to 10.1.2

3 releases in betweenevery note read

Reading releases, release notes and advisories…

0
changes to make
0
advisories fixed
2
new
14
fixes

Release by release

  1. 10.1.2

    24 Jun 20261 new · 3 fixes
    • New

      shared: Improved string interpolation performance with large amounts of data by caching output number parsing in createStringInterpolator.

    • Fixed

      core: PickAnimated now infers all animated keys when a partial from is provided. Previously a from prop collapsed the result type to just the from shape, dropping to keys, forward props, and the other transition phases — so useSpring({ width: 100, height: 100, from: { width: 0 } }) made styles.height a compile error even though height animates at runtime. It now merges from with the to, forward, and transition-phase values.

    • Fixed

      core: The SpringValue-level onChange now receives an AnimationResult ({ value, finished: false, cancelled: false }) instead of the raw value, so result.value is no longer undefined mid-animation. This matches onStart/onRest and the Controller-level onChange. The internal change event the animated tree subscribes to still emits the raw value.

    • Fixed

      animated: Fixed a cannot add a new property crash when wrapping non-extensible React Native host components. On Hermes, host components like View, Text, and Image become non-extensible after their first render, breaking the wrapper cache. createHost now attempts the direct write first (fast path, unchanged for extensible components) and falls back to a module-level WeakMap when the write is rejected.

  2. 10.1.1

    10 Jun 20265 fixes
    • Fixed

      core: Floor adaptive precision at float resolution to let springs settle on sub-precision drift

    • Fixed

      parallax: Pin container to top-left to prevent double scrollbar

    • Fixed

      shared: Guard string interpolator against number-less output values

    • Fixed

      core: auto-start useTransition when props is a function

    • Fixed

      three: Drive demand-mode frameloop so looping animations don't freeze

  3. 10.1.0

    22 May 20261 new · 6 fixes
    • New

      core: Add reverse prop to useTransition

    • Fixed

      shared: Preserve decimal precision in string interpolator

    • Fixed

      core: Stop superseded loop chains on re-render

    • Fixed

      core: Expose new phase to useTransition render fn

    • Fixed

      core: Fire onRest when animation is cancelled before its first frame

    • Fixed

      web: exact-match transform function names in style key regex

    • Fixed

      core: Preserve velocity across retargets for decay animations

15 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.