@visx/axis breaking changes
@visx/axis 4.0.0 (June 11, 2026) is its newest release with breaking changes, 9 of them. The first: Removes prop-types from the packages in @visx/axis 4.0.0. Every breaking API change we have recorded in @visx/axis on npm: 11 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
On this page
Latest version 4.0.0, released June 11, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@visx/axis 4.0.0 breaking changes
- Removed
The packages no longer use prop-types, so code that relied on their propTypes checks may need changes. github.com - Removed
Packages now require React 18 or 19, so apps on React 16 or 17 must upgrade React before using this version. github.com - Behavior changed
BaseAxis
BaseAxis in the xychart package now checks more strictly for registered data, so code depending on the old guard may behave differently. github.com - Configuration changed
Strict TypeScript users on React 18 or earlier must install @types/react in their app to avoid type errors. github.com - Signature changed
Axis
Was function Axis<Scale extends AxisScale>({children, axisClassName, hideAxisLine, hideTicks, hideZero, innerRef, left, numTicks, orientation, rangePadding, scale, tickFormat, tickLength, tickValues, top, ...restProps}: AxisProps<Scale>)... npmjs.com - Signature changed
AxisBottom
Was function AxisBottom<Scale extends AxisScale>({axisClassName, labelOffset, tickLength, tickLabelProps, ...restProps}: SharedAxisProps<Scale>): JSX.Element; now function AxisBottom<Scale extends AxisScale>({axisClassName, labelOffset... npmjs.com - Signature changed
AxisLeft
Was function AxisLeft<Scale extends AxisScale>({axisClassName, labelOffset, tickLength, tickLabelProps, ...restProps}: SharedAxisProps<Scale>): JSX.Element; now function AxisLeft<Scale extends AxisScale>({axisClassName, labelOffset... npmjs.com - Signature changed
AxisRight
Was function AxisRight<Scale extends AxisScale>({axisClassName, labelOffset, tickLength, tickLabelProps, ...restProps}: AxisRightProps<Scale>): JSX.Element; now function AxisRight<Scale extends AxisScale>({axisClassName, labelOffset... npmjs.com - Signature changed
AxisTop
Was function AxisTop<Scale extends AxisScale>({axisClassName, labelOffset, tickLength, tickLabelProps, ...restProps}: AxisTopProps<Scale>): JSX.Element; now function AxisTop<Scale extends AxisScale>({axisClassName, labelOffset, tickLength... npmjs.com
@visx/axis 3.0.0 breaking changes
- Removed
LinePathAnnotation
The deprecated LinePathAnnotation export was removed from the annotation module. Stop importing it and use the supported annotation components instead. github.com - Behavior changed
Responsive components such as those in responsive and xychart need ResizeObserver available in the environment, or a polyfill must be installed. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.