use-resize-observer breaking changes
use-resize-observer 10.0.0 (July 31, 2026) is its newest release with breaking changes, 3 of them. The first: Only the package root is importable in use-resize-observer 10.0.0. Every breaking API change we have recorded in use-resize-observer 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
On this page
Latest version 10.0.0, released July 31, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 10.0.0-alpha.1 to 10.0.0: 3 breaking changes in 1 version.
use-resize-observer 10.0.0 breaking changes
- Removed
Deep imports into package internals no longer work. Import everything from the package root. github.com - Removed
default
default was removed in use-resize-observer 10.0.0 npmjs.com - Signature changed
ResizeHandler
Was type ResizeHandler = (size: ObservedSize) => void; now type ResizeHandler = (payload: ResizeHandlerPayload) => void. npmjs.com
use-resize-observer 10.0.0-alpha.1 breaking changes
- Removed
The peer range is now React 18.2 or 19. Projects on React 16.8 or 17 must upgrade React. github.com - Removed
The package no longer depends on @juggle/resize-observer and has no runtime dependencies. github.com - Removed
Projects no longer need react-dom installed as a peer for this package. github.com - Removed
default export
The default export is gone. Import useResizeObserver as a named export from the package root instead. github.com - Removed
use-resize-observer.polyfilled
Imports from the polyfilled entrypoint no longer resolve. Stop importing it and use the package root. github.com - Behavior changed
The build output now targets ES2020. Browsers that need IE 11 are no longer supported. github.com
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.