unstale

npm / @visx/responsive

@visx/responsive

What changed in @visx/responsive 3 to 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.

2 breaking1 new APIs and options1 behavior and defaults2 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

@visx/responsive 45 changes

Breaking changes 1

New APIs and options 1

  • useParentSize supports a custom ref, allowing developers to provide their own ref.

    4.0.0release notes

Behavior and default changes 1

  • @types/react becomes an optional peer dependency, so consumers can choose whether to install it.

    4.0.0release notes

Fixes and other changes 2

  • Prevents infinite height growth in flex and grid layouts.

    4.0.0release notes

  • A callback ref fixes dimensions getting stuck at 0×0.

    4.0.0release notes

@visx/responsive 31 changes

Breaking changes 1

  • Using responsive components now requires ResizeObserver or a polyfill.

    3.0.0release notes