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

# @visx/text breaking changes

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

## @visx/text 4.0.0 breaking changes

@visx/text 4.0.0, released June 11, 2026: 6 breaking changes.

- **Removed**  

Support for React 16 and 17 is dropped. Upgrade React to 18 or 19 before updating. [github.com](https://github.com/airbnb/visx/releases/tag/v4.0.0)
- **Removed**  

Components no longer rely on prop-types. Code that depends on propTypes checks may need changes. [github.com](https://github.com/airbnb/visx/releases/tag/v4.0.0)
- **Behavior changed**  

The xychart axis empty-data check is stricter. Check axes that receive empty data. [github.com](https://github.com/airbnb/visx/commit/99d164d4fac497a68bfad0c93a94a60261ee0f8a)
- **Configuration changed**  

TypeScript apps on React 18 or older must install @types/react themselves to avoid type errors. [github.com](https://github.com/airbnb/visx/commit/0f1ae13f2627694de6c85a93551a49ed654ccb1b)
- **Signature changed** `getStringWidth`  

Was const \_default: typeof getStringWidth & import("lodash").MemoizedFunction; now const \_default: typeof getStringWidth. [npmjs.com](https://www.npmjs.com/package/@visx/text/v/4.0.0)
- **Signature changed** `Text`  

Was function Text(props: TextProps): JSX.Element; now function Text(props: TextProps): import("react/jsx-runtime").JSX.Element. [npmjs.com](https://www.npmjs.com/package/@visx/text/v/4.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.
