npm / react-resizable
react-resizable
What changed in react-resizable 3 to 4, from its official release notes, upgrade guides and advisories. Also covers @types/react-resizable. Sources checked 2026-11-30.
3 breaking1 behavior and defaults1 tooling2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-resizable 42 changes
Breaking changes 1
Flow is no longer supported, and the previously emitted *.js.flow shims have been removed.
Tooling 1
Bundled TypeScript declarations are resolved via the package.json types field, so consumers do not need to install @types/react-resizable.
react-resizable 35 changes
Breaking changes 2
The handle prop now passes a ReactRef<HTMLElement> as its second argument, which must be attached to the returned component.
React >= 16.3 is required because the implementation uses React.createRef().
Behavior and default changes 1
Vanilla usage of react-resizable no longer requires ReactDOM.
Fixes and other changes 2
The callback now uses the stored size from the last onResize call, fixing stale size data caused by React's batched state updates.
Adds support for React 18.