preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
Summary· from the note as AI read it
No actionNothing to change: 2 new, 3 fixed.
New
- Support scoped custom element registries when rendering into shadow roots
- Reduce bundle size across core, hooks, and compat
In short
1 new1 faster3 fixed
Release note
Features
Support scoped custom element registries when rendering into shadow roots (#5342, thanks @JoviDeCroock)
Fixes
Ignore non-function values for
on*props instead of registering invalid event handlers (#5345, thanks @JoviDeCroock)Pass a thrown
nullorundefinedto error boundaries without replacing it with aTypeError(#5347, thanks @jonkwheeler)Preserve event handlers on unmounted nodes so events already bubbling can finish (#5349, thanks @JoviDeCroock)
Performance
Reduce bundle size across core, hooks, and compat (#5343, thanks @JoviDeCroock)
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.