@react-spring/web
10.1.2 · 24 Jun 2026MIT6.9M / weekRepositoryHomepagenpmAtom feed
43 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 10.x · latest line
10.1.2
24 Jun 2026core:
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.
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.
10.1.1
10 Jun 2026core: Floor adaptive precision at float resolution to let springs settle on sub-precision drift
parallax: Pin container to top-left to prevent double scrollbar
shared: Guard string interpolator against number-less output values
What's Changed
core: Floor adaptive precision at float resolution to let springs settle on sub-precision drift
parallax: Pin container to top-left to prevent double scrollbar
shared: Guard string interpolator against number-less output values
core: auto-start useTransition when props is a function
three: Drive demand-mode frameloop so looping animations don't freeze
10.1.0
22 May 2026shared: Preserve decimal precision in string interpolator
core: Stop superseded loop chains on re-render
core: Expose new phase to useTransition render fn
What's Changed
shared: Preserve decimal precision in string interpolator
core: Stop superseded loop chains on re-render
core: Expose new phase to useTransition render fn
core: Add
reverseprop to useTransitioncore: Fire onRest when animation is cancelled before its first frame
web: exact-match transform function names in style key regex
core: Preserve velocity across retargets for decay animations
10.0.4
21 May 2026- Removed
web: Remove animated attributes when value is undefined
exitBeforeEnter in useTransition doesn't work when used with trail
Replace react-spring.io with react-spring.dev
What's Changed
exitBeforeEnter in useTransition doesn't work when used with trail
Replace react-spring.io with react-spring.dev
Events not firing when SpringRef attached manually under StrictMode
core: Clear stale updates in useSprings layout effect
shared: Report border-box dimensions from useResize
core: phase-sync useTrail children on loop iterations
core: Run async script
toto completion under skipAnimation- Removed
web: Remove animated attributes when value is undefined
10.0.3
18 Sep 2025Fix issue with Jest and legacy React apps using useTransition
10.0.2
7 Sep 2025Remove accessing elem.ref in renderTransitions
Support immediate useResize
10.0.1
21 May 2025Spring does not start
10.0.0
14 May 2025- Breaking
React 19 support
Clarify what
immediatedoes
What's Changed
Clarify what
immediatedoes- Breaking
React 19 support
- 9.x
9.7.5
7 Oct 2024Reading the note…
9.7.4
21 Jul 2024Reading the note…
9.7.3
26 Jun 2023Reading the note…
9.7.2
7 Apr 2023Reading the note…
9.7.1
27 Feb 2023Reading the note…
9.7.0
23 Feb 2023Reading the note…
9.6.1
16 Dec 2022Reading the note…
9.6.0
12 Dec 2022Reading the note…
9.5.5
26 Sep 2022Reading the note…
9.5.4
13 Sep 2022Reading the note…
9.5.3
11 Sep 2022Reading the note…
9.5.2
23 Jul 2022Reading the note…
9.5.1
21 Jul 2022Reading the note…
9.5.0
13 Jul 2022Reading the note…
9.4.5
4 May 2022Reading the note…
9.4.4
11 Mar 2022Reading the note…
9.4.3
12 Feb 2022Reading the note…
9.4.2
13 Jan 2022Reading the note…
9.4.1
5 Jan 2022Reading the note…
9.4.0
3 Jan 2022Reading the note…
9.3.2
22 Dec 2021Reading the note…
9.3.1
23 Nov 2021Reading the note…
9.3.0
10 Oct 2021Reading the note…
9.2.6
6 Oct 2021Reading the note…
9.2.5
3 Oct 2021Reading the note…
9.2.4
13 Jul 2021Reading the note…
9.2.3
9 Jun 2021Reading the note…
9.2.2
7 Jun 2021Reading the note…
9.2.1
28 May 2021Reading the note…
9.2.0
27 May 2021Reading the note…
9.1.2
22 Apr 2021Reading the note…
9.1.1
12 Apr 2021Reading the note…
9.1.0
8 Apr 2021Reading the note…
9.0.1
12 Apr 2021Reading the note…
9.0.0
23 Mar 2021Reading the note…
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.