npm / react-draggable
react-draggable
What changed in react-draggable 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
2 breaking1 performance
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-draggable 43 changes
Breaking changes 2
The Bower build was removed.
React 16.3+ is required because the library uses getDerivedStateFromProps.
Performance 1
Added a CJS build that leaves classNames and prop-types unbundled, which should marginally reduce bundle sizes for applications using bundlers.