preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
10.29.8 is the newest release of 10.x.
In short
3 new3 fixed7 changed8 internal
Release note
tl;dr: This is release contains mostly bug fixes and some size reductions. We encourage everyone to upgrade.
Just a week has passed since the last release and there are already an exciting number of new commits in master. Hackoktoberfest has had really positive effects on us and we're excited to see some new contributors in this release :100:
As you can see from the changelog: @andrewiggins is currently on a byte removing spree, so I thought it'd be appropriate to list them in their own category :tada: A few others joined him and marie kondo'ed everything that didn't spark joy in us!
Besides some great savings, there are new debug warnings for components and fixes for our Suspense implementation :tada:
Features
Add debug warnings when calling
setStateorforceUpdateon an unmounted component (#2037, thanks @andrewiggins)
Bug Fixes
Support re-suspending with
<Suspense>(#2025, thanks @andrewiggins)Add unpkg aliases (#2032, thanks @developit)
Fix
refnot always called inuseImperativeHandle(#2021, thanks @JoviDeCroock)
Golf (size reductions)
Inline
coerceToVNodeinside oftoChildArray(-21 B) (#2040, thanks @andrewiggins)Remove unused mount check in context Provider (-6 B) (#2039, thanks @andrewiggins)
Golfed render (#2045, thanks @MohammedSheikhIbrahim)
Remove useless return from eventProxy (#2026, thanks @jridgewell)
Rewrite
useImperativeHandleto useuseLayoutEffect(-35 B) (#2003, thanks @andrewiggins)Re-purpose
renderCallbacksas a general per-component commit queue (#2011, thanks @andrewiggins)
Types
Add
nonceto JSXHTMLAttributestypes for better Content Security Policy support. (#2035, thanks @calvinf)Remove internal import from compat types (#2018, thanks @andrewiggins)
Fix internal
vnodetypings (#2015, thanks @pmkroeker)
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.