preact
11.2.0 · 6 Nov 2026MIT63.1M / weekRepositoryHomepagenpmAtom feed
10.29.8 is the newest release of 10.x.
In short
8 fixed3 changed2 internal
Release note
tl;dr: This is a bug-fix only release and safe to upgrade :tada:
This release contains some amazing fixes by first time contributors! Thank you so much for everyone who filed issues or contributed PRs :heart:
Bug Fixes
Avoid touching DOM-attributes during hydration (#2679, thanks @JoviDeCroock)
Fix incorrect
downloadattribute handling (#2674, thanks @marvinhagemeister)Allow the same component to be suspended multiple times (#2661, thanks @tanhauhau)
Allow resolve promise after suspense unmounted (#2664, thanks @tanhauhau)
Throw when hook is used inside effect (#2672, thanks @marvinhagemeister)
Fix incorrect text node handling in
diffElementNodes(#2658, thanks @perseveringman)Default
useReftonull(#2648, thanks @JoviDeCroock)Fix calling
setStateinconstructor(#2640, thanks @sventschui)
Types
Change argument of
useRefto optional (#2651, thanks @38elements)Updated
capturedefinition. (#2643, thanks @JonathanBristow)Update
preact/compattypes (#2628, thanks @jeremy-coleman)
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.