---
title: "preact 11.1.0 Breaking Changes on npm | Since.dev"
description: "What each preact release removed, renamed or changed: 296 breaking changes in 14 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/preact
last_updated: 2026-12-04
---

# preact breaking changes

preact 11.1.0 (October 27, 2026) is its newest release with breaking changes, 3 of them. The first: Compat no longer appends px to unitless SVG paint and aspect-ratio values in preact 11.1.0. Every breaking API change we have recorded in preact on npm: 296 breaking changes in 14 versions. Below, its 14 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `11.3.0`, released December 5, 2026. [Source repository](https://github.com/preactjs/preact)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [10.29.7](#v-10-29-7) to [11.1.0](#v-11-1-0): 280 breaking changes in 5 versions.
- From [10.27.0](#v-10-27-0) to [11.1.0](#v-11-1-0): 295 breaking changes in 13 versions.

## preact 11.1.0 breaking changes

preact 11.1.0, released October 27, 2026: 3 breaking changes.

- **Behavior changed**  

In compat mode, unitless SVG paint and aspect-ratio style values are no longer given a px suffix. Code that relied on the px suffix for these values will render differently. [github.com](https://github.com/preactjs/preact/releases/tag/11.1.0)
- **Configuration changed**  

The new VNode marker requires @preact/signals 2.11.4 or later and preact-render-to-string 6.8.2 or later when those packages are used. Older versions of those packages must be upgraded. [github.com](https://github.com/preactjs/preact/releases/tag/11.1.0)
- **Signature changed** `InputAriaRoles`  

Was type InputAriaRoles = WithSignalType<| {type: 'button'; role?: Signalish<| 'button' | 'checkbox' | 'combobox' | 'gridcell' | 'link' | 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'option' | 'radio' | 'separator' | 'slider' |... [npmjs.com](https://www.npmjs.com/package/preact/v/11.1.0)

## preact 11.0.2 breaking changes

preact 11.0.2, released October 23, 2026: 15 breaking changes.

- **Default changed**  

Accessible element attribute types are now used by default, which can cause TypeScript type errors in existing code. Adjust element attribute typings if the compiler reports new errors. [github.com](https://github.com/preactjs/preact/releases/tag/11.0.2)
- **Signature changed** `AnchorHTMLAttributes`  

Was interface AnchorHTMLAttributes\<T extends EventTarget = HTMLAnchorElement> extends PartialAnchorHTMLAttributes\<T>; now type AnchorHTMLAttributes\<T extends EventTarget = HTMLAnchorElement> = Omit\<PartialAnchorHTMLAttributes\<T>, 'role'> &... [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.2)
- **Signature changed** `AreaHTMLAttributes`  

Was interface AreaHTMLAttributes\<T extends EventTarget = HTMLAreaElement> extends PartialAreaHTMLAttributes\<T>; now type AreaHTMLAttributes\<T extends EventTarget = HTMLAreaElement> = Omit\<PartialAreaHTMLAttributes\<T>, 'role'> &... [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.2)
- **Signature changed** `compat:PropsWithoutRef`  

Was type PropsWithoutRef\<P> = Omit\<P, 'ref'>; now type PropsWithoutRef\<P> = P extends any ? Omit\<P, 'ref'> : never. [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.2)
- **Signature changed** `createRef`  

createRef no longer falls back to a default any type and its nullability changed. Pass an explicit type argument where TypeScript code relied on the old default. [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.2)
- **Signature changed** `ImgHTMLAttributes`  

Was interface ImgHTMLAttributes\<T extends EventTarget = HTMLImageElement> extends PartialImgHTMLAttributes\<T>; now type ImgHTMLAttributes\<T extends EventTarget = HTMLImageElement> = Omit\<PartialImgHTMLAttributes\<T>, 'role' | 'aria-label' |... [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.2)
- **Signature changed** `InputAriaRoles`  

Was type InputAriaRoles = | {type: Signalish<'button'>; role?: Signalish<| 'button' | 'checkbox' | 'combobox' | 'gridcell' | 'link' | 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'option' | 'radio' | 'separator' | 'slider' |... [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.2)
- **Signature changed** `InputHTMLAttributes`  

Was interface InputHTMLAttributes\<T extends EventTarget = HTMLInputElement> extends PartialInputHTMLAttributes\<T>; now type InputHTMLAttributes\<T extends EventTarget = HTMLInputElement> = Omit\<PartialInputHTMLAttributes\<T>, 'role' |... [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.2)
- **Signature changed** `JSX.IntrinsicHTMLElements.a`  

Was a: preact.AccessibleAnchorHTMLAttributes\<HTMLAnchorElement>; now a: preact.AnchorHTMLAttributes\<HTMLAnchorElement>. [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.2)
- **Signature changed** `JSX.IntrinsicHTMLElements.area`  

Was area: preact.AccessibleAreaHTMLAttributes\<HTMLAreaElement>; now area: preact.AreaHTMLAttributes\<HTMLAreaElement>. [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.2)

And 5 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## preact 11.0.1 breaking changes

preact 11.0.1, released October 8, 2026: 1 breaking change.

- **Signature changed** `compat/scheduler:unstable_now`  

Was var unstable_now: DOMHighResTimeStamp; now function unstable_now(): DOMHighResTimeStamp. [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.1)

## preact 11.0.0 breaking changes

preact 11.0.0, released September 30, 2026: 252 breaking changes.

- **Removed**  

Preact 11 ships only ES modules with .mjs extension. Direct imports of dist files or CommonJS must switch to ESM imports. [preactjs.com](https://preactjs.com/guide/v11/upgrade-guide)
- **Removed** `JSX.ButtonHTMLAttributes`  

Only types TypeScript needs remain in JSX. Other types move to the preact namespace and must be imported from preact. [preactjs.com](https://preactjs.com/guide/v11/upgrade-guide)
- **Behavior changed**  

The ref prop now reaches function components directly, so forwardRef is no longer needed. Ref values differ from Preact 10. [preactjs.com](https://preactjs.com/guide/v11/upgrade-guide)
- **Behavior changed**  

Hook dependency and state comparisons use Object.is, so NaN now compares equal and renders may differ. [preactjs.com](https://preactjs.com/guide/v11/upgrade-guide)
- **Behavior changed** `useEffect`  

Cleanup functions now run after the browser paints instead of synchronously. Tests asserting right after unmount may need to flush effects first. [preactjs.com](https://preactjs.com/guide/v11/upgrade-guide)
- **Signature changed** `AnchorHTMLAttributes`  

Was interface AnchorHTMLAttributes\<T extends EventTarget = HTMLAnchorElement> extends HTMLAttributes\<T>; now interface AnchorHTMLAttributes\<T extends EventTarget = HTMLAnchorElement> extends PartialAnchorHTMLAttributes\<T>. [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.0)
- **Signature changed** `AreaHTMLAttributes`  

Was interface AreaHTMLAttributes\<T extends EventTarget = HTMLAreaElement> extends HTMLAttributes\<T>; now interface AreaHTMLAttributes\<T extends EventTarget = HTMLAreaElement> extends PartialAreaHTMLAttributes\<T>. [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.0)
- **Signature changed** `AreaHTMLAttributes.role`  

Was role?: Signalish\<AriaRole | undefined>; now role?: Signalish<'button' | 'link' | undefined>. [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.0)
- **Signature changed** `AudioHTMLAttributes.role`  

Was role?: Signalish\<AriaRole | undefined>; now role?: Signalish<'application' | undefined>. [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.0)
- **Signature changed** `BaseHTMLAttributes.role`  

Was role?: Signalish\<AriaRole | undefined>; now role?: never. [npmjs.com](https://www.npmjs.com/package/preact/v/11.0.0)

And 242 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## preact 11.0.0-beta.0 breaking changes

preact 11.0.0-beta.0, released September 30, 2026: 9 breaking changes.

- **Removed**  

Nested package.json export maps are removed, which can break deep imports. [github.com](https://github.com/preactjs/preact/releases/tag/11.0.0-beta.0)
- **Removed**  

Preact 11 no longer supports Internet Explorer 11. Use polyfills if you need older browsers. [github.com](https://github.com/preactjs/preact/releases/tag/11.0.0-beta.0)
- **Removed** `Component.base`  

Component.base is gone. Access the DOM through the internal \_\_v.\_\_e property if you still need it. [github.com](https://github.com/preactjs/preact/releases/tag/11.0.0-beta.0)
- **Removed** `ForwardFn`  

The deprecated ForwardFn type is removed from preact/compat. [github.com](https://github.com/preactjs/preact/releases/tag/11.0.0-beta.0)
- **Removed** `SuspenseList`  

SuspenseList is removed from preact/compat, including server-side support. [github.com](https://github.com/preactjs/preact/releases/tag/11.0.0-beta.0)
- **Behavior changed**  

Build outputs and package.json layout changed, which may affect how the package is imported. [github.com](https://github.com/preactjs/preact/releases/tag/11.0.0-beta.0)
- **Behavior changed**  

Numeric style values no longer get a px suffix in core; use preact/compat if you need it. [github.com](https://github.com/preactjs/preact/releases/tag/11.0.0-beta.0)
- **Behavior changed**  

TypeScript 5.1 is now the minimum supported version. Upgrade TypeScript before upgrading Preact. [github.com](https://github.com/preactjs/preact/releases/tag/11.0.0-beta.0)
- **Behavior changed** `defaultProps`  

defaultProps is now only supported through preact/compat, not core. [github.com](https://github.com/preactjs/preact/releases/tag/11.0.0-beta.0)

## preact 10.29.7 breaking changes

preact 10.29.7, released July 8, 2026: 1 breaking change.

- **Configuration changed**  

The RTS package is now an optional peer dependency rather than a required one, so installs no longer need it unless you use it. [github.com](https://github.com/preactjs/preact/releases/tag/10.29.7)

## Older versions

8 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### preact 10.29.6 breaking changes

preact 10.29.6, released July 7, 2026: 1 breaking change.

- **Behavior changed**  

Release 10.29.6 reverts pull request 5055 because it was incompatible with useSignalEffect. Code relying on the reverted behavior should be checked after upgrading. [github.com](https://github.com/preactjs/preact/releases/tag/10.29.6)

### preact 10.29.4 breaking changes

preact 10.29.4, released July 3, 2026: 1 breaking change.

- **Behavior changed** `useId`  

The earlier useId stability fix for async Suspense was reverted, so useId values may differ across async Suspense boundaries again. Code relying on that fix must adjust. [github.com](https://github.com/preactjs/preact/releases/tag/10.29.4)

### preact 10.29.3 breaking changes

preact 10.29.3, released June 26, 2026: 2 breaking changes.

- **Signature changed** `InputHTMLAttributes.type`  

Was type?: HTMLInputTypeAttribute | undefined; now type?: Signalish\<HTMLInputTypeAttribute | undefined>. [npmjs.com](https://www.npmjs.com/package/preact/v/10.29.3)
- **Signature changed** `JSX.InputHTMLAttributes.type`  

Was type?: HTMLInputTypeAttribute | undefined; now type?: Signalish\<HTMLInputTypeAttribute | undefined>. [npmjs.com](https://www.npmjs.com/package/preact/v/10.29.3)

### preact 10.29.1 breaking changes

preact 10.29.1, released April 3, 2026: 2 breaking changes.

- **Signature changed** `createElement`  

Was function createElement\<T extends HTMLElement>(type: string, props: | (ClassAttributes\<T> & HTMLAttributes & SVGAttributes) | null, ...children: ComponentChildren\[\]): VNode\<ClassAttributes\<T> & HTMLAttributes & SVGAttributes>; now... [npmjs.com](https://www.npmjs.com/package/preact/v/10.29.1)
- **Signature changed** `h`  

Was function h\<T extends HTMLElement>(type: string, props: | (ClassAttributes\<T> & HTMLAttributes & SVGAttributes) | null, ...children: ComponentChildren\[\]): VNode<| (ClassAttributes\<T> & HTMLAttributes & SVGAttributes) | null>; now... [npmjs.com](https://www.npmjs.com/package/preact/v/10.29.1)

### preact 10.28.0 breaking changes

preact 10.28.0, released December 1, 2025: 4 breaking changes.

- **Signature changed** `DOMAttributes.onScroll`  

Was onScroll?: UIEventHandler\<Target> | undefined; now onScroll?: GenericEventHandler\<Target> | undefined. [npmjs.com](https://www.npmjs.com/package/preact/v/10.28.0)
- **Signature changed** `DOMAttributes.onScrollCapture`  

Was onScrollCapture?: UIEventHandler\<Target> | undefined; now onScrollCapture?: GenericEventHandler\<Target> | undefined. [npmjs.com](https://www.npmjs.com/package/preact/v/10.28.0)

And 2 more in this version.

### preact 10.27.3 breaking changes

preact 10.27.3, released January 6, 2026: 1 breaking change.

- **Behavior changed**  

VNode object constructors now enforce strict equality checks; code relying on looser comparisons may behave differently. [github.com](https://github.com/preactjs/preact/releases/tag/10.27.3)

### preact 10.27.2 breaking changes

preact 10.27.2, released September 13, 2025: 3 breaking changes.

- **Behavior changed**  

Non-JSX types are now also exported under the 'preact' namespace. Code relying on the previous type layout may need to check its type imports. [github.com](https://github.com/preactjs/preact/releases/tag/10.27.2)
- **Signature changed** `createElement`  

Was function createElement(type: 'input', props: | (JSXInternal.DOMAttributes\<HTMLInputElement> & ClassAttributes\<HTMLInputElement>) | null, ...children: ComponentChildren\[\]): VNode\<JSXInternal.DOMAttributes\<HTMLInputElement> &... [npmjs.com](https://www.npmjs.com/package/preact/v/10.27.2)

And 1 more in this version.

### preact 10.27.0 breaking changes

preact 10.27.0, released July 28, 2025: 1 breaking change.

- **Signature changed** `RefCallback`  

Was type RefCallback\<T> = (instance: T | null) => void; now type RefCallback\<T> = (instance: T | null) => void | (() => void). [npmjs.com](https://www.npmjs.com/package/preact/v/10.27.0)

## 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.
