unstale

npm / react-virtualized-auto-sizer

react-virtualized-auto-sizer

What changed in react-virtualized-auto-sizer 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

3 breaking2 new APIs and options2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

react-virtualized-auto-sizer 27 changes

Breaking changes 3

  • Version 2 uses the Child prop to provide the child component instead of a function as AutoSizer's children.

    2.0.0release notes

  • The disableWidth prop was removed; React.memo can be used to achieve this behavior instead.

    2.0.0release notes

  • The prop was removed, and the component no longer bails out on empty children; that decision is left to the child component.

    2.0.0release notes

New APIs and options 2

  • ChildComponent and renderProp are separate props, so developers can use them independently.

    2.0.1release notes

  • renderProp and ChildComponent are separate props, so developers can use them independently.

    2.0.1release notes

Fixes and other changes 2

  • Changes to the box prop are no longer ignored after the initial render; the parent is remeasured as soon as box changes.

    2.0.4release notes

  • Fixes content-box sizes being calculated with styles from the wrong window when rendering into an iframe or popup.

    2.0.4release notes