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

# @visx/tooltip breaking changes

@visx/tooltip 4.0.0 (June 11, 2026) is its newest release with breaking changes, 8 of them. The first: Requires React 18 or 19 in @visx/tooltip 4.0.0. Every breaking API change we have recorded in @visx/tooltip on npm: 9 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/tooltip 4.0.0 breaking changes

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

- **Removed**  

The package now requires React 18 or 19, so projects on older React versions must upgrade React before moving to this release. [github.com](https://github.com/airbnb/visx/releases/tag/v4.0.0)
- **Configuration changed**  

@types/react and @types/react-dom are now optional peer dependencies instead of bundled dependencies. Strict TypeScript users on React 18 or earlier must install @types/react (and @types/react-dom) in their app. [github.com](https://github.com/airbnb/visx/commit/0f1ae13f2627694de6c85a93551a49ed654ccb1b)
- **Signature changed** `defaultStyles`  

Was const defaultStyles: React.CSSProperties; now const defaultStyles: CSSProperties. [npmjs.com](https://www.npmjs.com/package/@visx/tooltip/v/4.0.0)
- **Signature changed** `Portal`  

Was class Portal extends React.PureComponent\<PortalProps>; now class Portal extends PureComponent\<PortalProps>. [npmjs.com](https://www.npmjs.com/package/@visx/tooltip/v/4.0.0)
- **Signature changed** `Portal.render`  

Was render(): React.ReactPortal | null; now render(): import("react").ReactPortal | null. [npmjs.com](https://www.npmjs.com/package/@visx/tooltip/v/4.0.0)
- **Signature changed** `Tooltip`  

Was const Tooltip: React.ForwardRefExoticComponent\<TooltipProps & React.HTMLAttributes\<HTMLDivElement> & React.RefAttributes\<HTMLDivElement>>; now const Tooltip: import("react").ForwardRefExoticComponent\<TooltipProps &... [npmjs.com](https://www.npmjs.com/package/@visx/tooltip/v/4.0.0)
- **Signature changed** `TooltipWithBounds`  

Was const \_default: {new (props: TooltipWithBoundsProps): {node: HTMLElement | null | undefined; nodeRef: React.RefObject\<HTMLElement>; componentDidMount(): void; getRects(): Readonly<{}>; render(): JSX.Element; context: any; setState\<K... [npmjs.com](https://www.npmjs.com/package/@visx/tooltip/v/4.0.0)
- **Signature changed** `withTooltip`  

Was function withTooltip\<BaseComponentProps = {}, TooltipData = {}>(BaseComponent: React.ComponentType\<BaseComponentProps & WithTooltipProvidedProps\<TooltipData>>, containerProps?: WithTooltipContainerProps, renderContainer?... [npmjs.com](https://www.npmjs.com/package/@visx/tooltip/v/4.0.0)

## @visx/tooltip 3.0.0 breaking changes

@visx/tooltip 3.0.0, released January 6, 2023: 1 breaking change.

- **Behavior changed**  

The d3-interpolate and d3-scale bump, which was reverted in v2.18.0, is applied again in v3.0.0. Scale and interpolation behavior may change, so check code that depends on them. [github.com](https://github.com/airbnb/visx/releases/tag/v3.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.
