motion
14.14.0 · 13 Nov 2026MIT38.5M / weekRepositoryHomepagenpmAtom feed
Upgrading motion From 1.4.3 to 2.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 5
- changes to make
- 0
- advisories fixed
- 5
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
Release by release
- Breaking
positionTransitionandlayoutTransitionprops (uselayout={true}instead). - Breaking
Pointtype in favour ofPoint2D. - Breaking
useAnimatedState: Moved to Framer library. - Breaking
dragOriginX,dragOriginYprops.
- Breaking
4 other lines we could not sort, mostly version bumps
- 2.0.0
Using
Proxyto generatemotioncomponents. This saves ~0.5kb from the bundle size and ensures compatibility with all DOM elements and Web Components. - 2.0.0
xandytransform values won't change as a result of a drag gesture as this now works via layout projection. - 2.0.0
Drag events now report
pointas the pointer relative to the viewport, in line with other pointer events. - 2.0.0
Changed build process and using Terser for uglification. Reduces bundle size by ~1.2kb. (@stokesman in #596)
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.