preact
11.2.0 · 6 Nov 2026MIT63.1M / weekRepositoryHomepagenpmAtom feed
10.29.8 is the newest release of 10.x.
In short
4 new7 fixed2 changed3 internal
Release note
Features
Use microtick outside of events (#3879, thanks @JoviDeCroock)
Re-sort rerender queue if modified while we are processing rerenders (#3871, thanks @andrewiggins)
Preserve event handler return values (#3812, thanks @developit)
Bug Fixes
Avoid bailing in strict equality (#3884, thanks @JoviDeCroock)
When unmounting, continue with the last DOM element's nextSibling (#3878, thanks @andrewiggins)
Improve Fragment unmounting while correctly swapping nested fragments (#3875, thanks @andrewiggins)
Clear css properties when passed undefined (#3862, thanks @andrewiggins)
Debug: Limit "object as children" error to elements (#3801, thanks @developit)
Invoke setState callbacks setup in componentWillMount (#3806, thanks @andrewiggins)
Typings
Add exactOptionalPropertyTypes support to html attributes (#3868, thanks @deadem)
Changes
EventHandler<...>to have athisof typevoid. (#3867, thanks @MicahZoltu)Narrows type of
parentin render functions. (#3863, thanks @MicahZoltu)
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.