---
title: "@visx/responsive 4.0.0 Breaking Changes on npm | Since.dev"
description: "What each @visx/responsive release removed, renamed or changed: 13 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@visx/responsive
last_updated: 2026-12-04
---

# @visx/responsive breaking changes

@visx/responsive 4.0.0 (June 11, 2026) is its newest release with breaking changes, 8 of them. The first: Requires React 18 or 19; React 16 and 17 are no longer supported in @visx/responsive 4.0.0. Every breaking API change we have recorded in @visx/responsive on npm: 13 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released June 11, 2026. [Source repository](https://github.com/airbnb/visx)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 8 breaking changes in 1 version.

## @visx/responsive 4.0.0 breaking changes

@visx/responsive 4.0.0, released June 11, 2026: 8 breaking changes.

- **Configuration changed**  

The package now requires React 18 or 19. Apps on React 16 or 17 must upgrade React before moving to this version. [github.com](https://github.com/airbnb/visx/releases/tag/v4.0.0)
- **Configuration changed**  

Strict TypeScript users on React 18 or earlier must install @types/react in their own app to avoid type errors. Also install @types/react-dom when using bounds, tooltip, xychart or visx. [github.com](https://github.com/airbnb/visx/commit/0f1ae13f2627694de6c85a93551a49ed654ccb1b)
- **Signature changed** `ParentSize`  

Was function ParentSize({className, children, debounceTime, ignoreDimensions, initialSize, parentSizeStyles, enableDebounceLeadingCall, resizeObserverPolyfill, ...restProps}: ParentSizeProps & Omit\<React.HTMLAttributes\<HTMLDivElement>... [npmjs.com](https://www.npmjs.com/package/@visx/responsive/v/4.0.0)
- **Signature changed** `ScaleSVG`  

Was function ScaleSVG({children, width, height, xOrigin, yOrigin, preserveAspectRatio, innerRef}: ScaleSVGProps): JSX.Element; now function ScaleSVG({children, width, height, xOrigin, yOrigin, preserveAspectRatio, innerRef}... [npmjs.com](https://www.npmjs.com/package/@visx/responsive/v/4.0.0)
- **Signature changed** `useParentSize`  

Was function useParentSize\<T extends HTMLElement = HTMLDivElement>({initialSize, debounceTime, ignoreDimensions, enableDebounceLeadingCall, resizeObserverPolyfill}?: UseParentSizeConfig): UseParentSizeResult\<T>; now function... [npmjs.com](https://www.npmjs.com/package/@visx/responsive/v/4.0.0)
- **Signature changed** `UseParentSizeConfig`  

Was type UseParentSizeConfig = {initialSize?: Partial\<ParentSizeState>; resizeObserverPolyfill?: ResizeObserverPolyfill; ignoreDimensions?: keyof ParentSizeState | (keyof ParentSizeState)\[\];} & DebounceSettings; now type... [npmjs.com](https://www.npmjs.com/package/@visx/responsive/v/4.0.0)
- **Signature changed** `withParentSize`  

Was function withParentSize\<P extends WithParentSizeProvidedProps>(BaseComponent: React.ComponentType\<P>, resizeObserverPolyfill?: ResizeObserverPolyfill): React.ComponentType\<WithParentSizeComponentProps\<P>>; now function withParentSize\<P... [npmjs.com](https://www.npmjs.com/package/@visx/responsive/v/4.0.0)
- **Signature changed** `withScreenSize`  

Was function withScreenSize\<P extends WithScreenSizeProvidedProps>(BaseComponent: React.ComponentType\<P>): React.ComponentType\<WithScreenSizeComponentProps\<P>>; now function withScreenSize\<P extends... [npmjs.com](https://www.npmjs.com/package/@visx/responsive/v/4.0.0)

## @visx/responsive 3.0.0 breaking changes

@visx/responsive 3.0.0, released January 6, 2023: 5 breaking changes.

- **Removed** `ParentSizeModern`  

ParentSizeModern was removed in @visx/responsive 3.0.0 [npmjs.com](https://www.npmjs.com/package/@visx/responsive/v/3.0.0)
- **Removed** `withParentSizeModern`  

withParentSizeModern was removed in @visx/responsive 3.0.0 [npmjs.com](https://www.npmjs.com/package/@visx/responsive/v/3.0.0)
- **Behavior changed**  

The responsive components now need a ResizeObserver implementation, either built into the browser or supplied by a polyfill. Add a polyfill if your target browsers lack ResizeObserver. [github.com](https://github.com/airbnb/visx/releases/tag/v3.0.0)
- **Signature changed** `ParentSize`  

Was function ParentSize({className, children, debounceTime, ignoreDimensions, parentSizeStyles, enableDebounceLeadingCall, ...restProps}: ParentSizeProps & Omit\<React.HTMLAttributes\<HTMLDivElement>, keyof ParentSizeProps>): JSX.Element... [npmjs.com](https://www.npmjs.com/package/@visx/responsive/v/3.0.0)
- **Signature changed** `withParentSize`  

Was function withParentSize\<BaseComponentProps extends WithParentSizeProps = {}>(BaseComponent: React.ComponentType\<BaseComponentProps & WithParentSizeProvidedProps>): {new (props: Readonly\<BaseComponentProps & WithParentSizeState>)... [npmjs.com](https://www.npmjs.com/package/@visx/responsive/v/3.0.0)

## Related packages

- [@visx/grid](https://since.dev/packages/npm/@visx/grid.md)
- [@visx/axis](https://since.dev/packages/npm/@visx/axis.md)
- [@visx/shape](https://since.dev/packages/npm/@visx/shape.md)
- [@visx/geo](https://since.dev/packages/npm/@visx/geo.md)
- [@visx/curve](https://since.dev/packages/npm/@visx/curve.md)
- [@visx/event](https://since.dev/packages/npm/@visx/event.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
