# What changed in @visx/gradient

> 3 changes in @visx/gradient 4 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/@visx/gradient/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @visx/gradient 4

### Tooling

- @types/react becomes an optional peer dependency. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)

### Fixes and other changes

- Fixes Node ESM compatibility for the published esm/ output. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)
- Packages add React 19 to their peer dependencies and require React 18 or 19. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0), [upgrade guide](https://github.com/airbnb/visx/blob/HEAD/MIGRATION.md)
