preact breaking changes
Updated December 4, 2026
On this page
Latest version 11.3.0, released December 5, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 10.29.7 to 11.1.0: 280 breaking changes in 5 versions.
- From 10.27.0 to 11.1.0: 295 breaking changes in 13 versions.
preact 11.1.0 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 - 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 - 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
preact 11.0.2 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 - 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 - 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 - Signature changed
compat:PropsWithoutRef
Was type PropsWithoutRef<P> = Omit<P, 'ref'>; now type PropsWithoutRef<P> = P extends any ? Omit<P, 'ref'> : never. npmjs.com - 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 - 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 - 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 - 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 - Signature changed
JSX.IntrinsicHTMLElements.a
Was a: preact.AccessibleAnchorHTMLAttributes<HTMLAnchorElement>; now a: preact.AnchorHTMLAttributes<HTMLAnchorElement>. npmjs.com - Signature changed
JSX.IntrinsicHTMLElements.area
Was area: preact.AccessibleAreaHTMLAttributes<HTMLAreaElement>; now area: preact.AreaHTMLAttributes<HTMLAreaElement>. npmjs.com
And 5 more in this version. Sign up to see every change
preact 11.0.1 breaking changes
- Signature changed
compat/scheduler:unstable_now
Was var unstable_now: DOMHighResTimeStamp; now function unstable_now(): DOMHighResTimeStamp. npmjs.com
preact 11.0.0 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 - 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 - Behavior changed
The ref prop now reaches function components directly, so forwardRef is no longer needed. Ref values differ from Preact 10. preactjs.com - Behavior changed
Hook dependency and state comparisons use Object.is, so NaN now compares equal and renders may differ. preactjs.com - 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 - 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 - 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 - Signature changed
AreaHTMLAttributes.role
Was role?: Signalish<AriaRole | undefined>; now role?: Signalish<'button' | 'link' | undefined>. npmjs.com - Signature changed
AudioHTMLAttributes.role
Was role?: Signalish<AriaRole | undefined>; now role?: Signalish<'application' | undefined>. npmjs.com - Signature changed
BaseHTMLAttributes.role
Was role?: Signalish<AriaRole | undefined>; now role?: never. npmjs.com
And 242 more in this version. Sign up to see every change
preact 11.0.0-beta.0 breaking changes
- Removed
Nested package.json export maps are removed, which can break deep imports. github.com - Removed
Preact 11 no longer supports Internet Explorer 11. Use polyfills if you need older browsers. github.com - Removed
Component.base
Component.base is gone. Access the DOM through the internal __v.__e property if you still need it. github.com - Removed
ForwardFn
The deprecated ForwardFn type is removed from preact/compat. github.com - Removed
SuspenseList
SuspenseList is removed from preact/compat, including server-side support. github.com - Behavior changed
Build outputs and package.json layout changed, which may affect how the package is imported. github.com - Behavior changed
Numeric style values no longer get a px suffix in core; use preact/compat if you need it. github.com - Behavior changed
TypeScript 5.1 is now the minimum supported version. Upgrade TypeScript before upgrading Preact. github.com - Behavior changed
defaultProps
defaultProps is now only supported through preact/compat, not core. github.com
preact 10.29.7 breaking changes
- 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
Older versions
8 older versions, each with its first changes. Sign up to see every change
Show 8 older versions
preact 10.29.6 breaking changes
- 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
preact 10.29.4 breaking changes
- 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
preact 10.29.3 breaking changes
- Signature changed
InputHTMLAttributes.type
Was type?: HTMLInputTypeAttribute | undefined; now type?: Signalish<HTMLInputTypeAttribute | undefined>. npmjs.com - Signature changed
JSX.InputHTMLAttributes.type
Was type?: HTMLInputTypeAttribute | undefined; now type?: Signalish<HTMLInputTypeAttribute | undefined>. npmjs.com
preact 10.29.1 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 - 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
preact 10.28.0 breaking changes
- Signature changed
DOMAttributes.onScroll
Was onScroll?: UIEventHandler<Target> | undefined; now onScroll?: GenericEventHandler<Target> | undefined. npmjs.com - Signature changed
DOMAttributes.onScrollCapture
Was onScrollCapture?: UIEventHandler<Target> | undefined; now onScrollCapture?: GenericEventHandler<Target> | undefined. npmjs.com
And 2 more in this version.
preact 10.27.3 breaking changes
- Behavior changed
VNode object constructors now enforce strict equality checks; code relying on looser comparisons may behave differently. github.com
preact 10.27.2 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 - Signature changed
createElement
Was function createElement(type: 'input', props: | (JSXInternal.DOMAttributes<HTMLInputElement> & ClassAttributes<HTMLInputElement>) | null, ...children: ComponentChildren[]): VNode<JSXInternal.DOMAttributes<HTMLInputElement> &... npmjs.com
And 1 more in this version.
preact 10.27.0 breaking changes
- Signature changed
RefCallback
Was type RefCallback<T> = (instance: T | null) => void; now type RefCallback<T> = (instance: T | null) => void | (() => void). npmjs.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.