unstale

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 init

@unstale/cli on npm

react-resizable 42 changes

Breaking changes 1

  • Flow is no longer supported, and the previously emitted *.js.flow shims have been removed.

    4.0.0release notes

Tooling 1

  • Bundled TypeScript declarations are resolved via the package.json types field, so consumers do not need to install @types/react-resizable.

    4.0.0release notes

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.

    3.0.0release notes

  • React >= 16.3 is required because the implementation uses React.createRef().

    3.0.0release notes

Behavior and default changes 1

  • Vanilla usage of react-resizable no longer requires ReactDOM.

    3.0.0release notes

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.

    3.1.0release notes

  • Adds support for React 18.

    3.1.0release notes