# What changed in react-virtualized-auto-sizer

> 7 changes in react-virtualized-auto-sizer 2 from its official release notes, upgrade guides and advisories: 3 breaking, 2 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/react-virtualized-auto-sizer/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## react-virtualized-auto-sizer 2

### Breaking changes

- Version 2 uses the Child prop to provide the child component instead of a function as AutoSizer's children. (2.0.0) — [release notes](https://github.com/bvaughn/react-virtualized-auto-sizer/releases/tag/2.0.0)
- The disableWidth prop was removed; React.memo can be used to achieve this behavior instead. (2.0.0) — [release notes](https://github.com/bvaughn/react-virtualized-auto-sizer/releases/tag/2.0.0)
- The prop was removed, and the component no longer bails out on empty children; that decision is left to the child component. (2.0.0) — [release notes](https://github.com/bvaughn/react-virtualized-auto-sizer/releases/tag/2.0.0)

### New APIs and options

- ChildComponent and renderProp are separate props, so developers can use them independently. (2.0.1) — [release notes](https://github.com/bvaughn/react-virtualized-auto-sizer/releases/tag/2.0.1)
- renderProp and ChildComponent are separate props, so developers can use them independently. (2.0.1) — [release notes](https://github.com/bvaughn/react-virtualized-auto-sizer/releases/tag/2.0.1)

### Fixes and other changes

- Changes to the box prop are no longer ignored after the initial render; the parent is remeasured as soon as box changes. (2.0.4) — [release notes](https://github.com/bvaughn/react-virtualized-auto-sizer/releases/tag/2.0.4)
- Fixes content-box sizes being calculated with styles from the wrong window when rendering into an iframe or popup. (2.0.4) — [release notes](https://github.com/bvaughn/react-virtualized-auto-sizer/releases/tag/2.0.4)
