@react-spring/web
10.1.2 · 24 Jun 2026MIT6.9M / weekRepositoryHomepagenpmAtom feed
In short
1 faster3 fixed
Release note
Bug Fixes
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.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.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.
Performance
shared: Improved string interpolation performance with large amounts of data by caching output number parsing in
createStringInterpolator.
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.