@react-spring/web
10.1.2 · 24 Jun 2026MIT6.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @react-spring/web From 9.4.4 to 10.1.2
23 releases in betweennotes for 8
Reading releases, release notes and advisories…
- 2+
- changes to make
- 0
- advisories fixed
- 3+
- new
- 24+
- fixes
Counted from 8 of 23 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking10.0.4
- Breaking10.0.0
Release by release
- New
shared: Improved string interpolation performance with large amounts of data by caching output number parsing in
createStringInterpolator. - Fixed
core:
PickAnimatednow infers all animated keys when a partialfromis provided. Previously afromprop collapsed the result type to just thefromshape, droppingtokeys, forward props, and the other transition phases — souseSpring({ width: 100, height: 100, from: { width: 0 } })madestyles.heighta compile error even thoughheightanimates at runtime. It now mergesfromwith theto, forward, and transition-phase values. - Fixed
core: The
SpringValue-levelonChangenow receives anAnimationResult({ value, finished: false, cancelled: false }) instead of the raw value, soresult.valueis no longerundefinedmid-animation. This matchesonStart/onRestand theController-levelonChange. The internalchangeevent the animated tree subscribes to still emits the raw value. - Fixed
animated: Fixed a
cannot add a new propertycrash when wrapping non-extensible React Native host components. On Hermes, host components likeView,Text, andImagebecome non-extensible after their first render, breaking the wrapper cache.createHostnow attempts the direct write first (fast path, unchanged for extensible components) and falls back to a module-levelWeakMapwhen the write is rejected.
- New
- 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
- Fixed
- New
core: Add
reverseprop 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
- New
- Breaking
web: Remove animated attributes when value is undefined
- Fixed
exitBeforeEnter in useTransition doesn't work when used with trail
- Fixed
Replace react-spring.io with react-spring.dev
- Fixed
Events not firing when SpringRef attached manually under StrictMode
- Breaking
- Fixed
Fix issue with Jest and legacy React apps using useTransition
- Fixed
- New
Support immediate useResize
- Fixed
Remove accessing elem.ref in renderTransitions
- New
- Fixed
Spring does not start
- Fixed
- Breaking
React 19 support
- Breaking
1 other line we could not sort, mostly version bumps
- 10.0.0
Clarify what
immediatedoes
43 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.