preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
10.29.8 is the newest release of 10.x.
In short
1 new9 fixed2 changed3 internal
Release note
tl;dr: This is a standard bug-fix release with no new features. We encourage everyone to upgrade
Wow, we've been overwhelmed with the reactions to our final Preact X release! We saw a huge uptick in npm downloads to 200.000 per week :tada: Another exciting announcement is that Google AMP is officially using Preact under the hood. We've receivied many more thank you notes (and even stroopwafels!) from companies using Preact. Those range from small companies to big enterprise ones, where Preact is used in a wide span of different environments.
We preactively allocated the weeks after the big launch for a period of bug-fixes only in case something slipped through. It was admittedly a more conservative decision after our long alpha and beta period, but we wanted to make sure that you all would have a butter smooth experience no matter what :stars: It's safe to say that it went really well and we've only received a couple bug reports so far :tada:
In the short amount of time that has passed since the release, we managed to squash a good portion of those! Thank you so much to everyone for reporting bugs and helping us track them down! You rock :+1: :100:
Bug Fixes
Resolve attributes of reused nodes that weren't present in
virtual-dom(#1987, thanks @JoviDeCroock)Fix stale
contextvalues (forcreateContext-API) (#2005, thanks @JoviDeCroock)Properly flush nested
setStatecallbacks (-6 B) (#2010, thanks @andrewiggins)Import and re-export hooks explicitly to allow for webpack tree shaking (#2006, thanks @davidbailey00)
Removing reference to
preact-contextlibrary (#2001, thanks @jackbravo)Fix
forceUpdateenqueued child update being skipped (#1988, thanks @marvinhagemeister)Append
Portalnode to container instead of prepend (#1971, thanks @toraora)Always pull
_forceflag from component (#1984, thanks @marvinhagemeister)Fix
replaceNodenot always taking effect (#1970, thanks @JoviDeCroock)
Types
Remove
nullfromVNode.typeTS definition and add some TS tests (#1994, thanks @andrewiggins)Add
_forceto internal.d.ts (#1990, thanks @38elements)Improve
VNodetypings (#1979, thanks @andrewiggins)
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.