Packages

preact

11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed

Your version

11.2.0

Latest6 Nov 2026Where it was published

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 null or undefined to error boundaries without replacing it with a TypeError (#5347, thanks @jonkwheeler)

  • Preserve event handlers on unmounted nodes so events already bubbling can finish (#5349, thanks @JoviDeCroock)

Performance

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.