preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
11.2.0 is the newest release of 11.x.
Summary· from the note as AI read it
Migration neededRead before upgrading: 1 change to make.
Before you upgrade
- Upgrade @preact/signals to 2.11.4+ and preact-render-to-string to 6.8.2+
New
- Add
preact/compat/compiler-runtimefor apps compiled with React Compiler
In short
1 breaking1 new4 fixed
- Breaking
The new VNode marker requires
@preact/signals2.11.4 or later andpreact-render-to-string6.8.2 or later when using those packages.
Release note
Features
Add
preact/compat/compiler-runtimefor apps compiled with React Compiler (#5323, thanks @JoviDeCroock)
Fixes
Harden VNode recognition with a shared symbol marker (#5335, thanks @JoviDeCroock)
Isolate layout-effect errors to the throwing component so unrelated effects and lifecycle callbacks still run (#5321, thanks @JoviDeCroock)
Stop appending
pxto unitless SVG paint and aspect-ratio values in compat (#5233, thanks @dylanpulver)
Types
Allow the
listattribute on all valid input types (#5331, thanks @playlikeboy)
Compatibility
The new VNode marker requires @preact/signals 2.11.4 or later and preact-render-to-string 6.8.2 or later when using those packages.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.