preact
11.2.0 · 6 Nov 2026MIT63.1M / weekRepositoryHomepagenpmAtom feed
10.29.8 is the newest release of 10.x.
In short
2 new6 fixed4 changed2 internal
Release note
tl;dr: A good handful of bug fixes make this release the ideal candidate to upgrade! Should be very safe to upgrade
Thanks to all the people who made this release possible! This is for everyone who took part in our discussions, helped report issues, did code contributions or just spread the word. Thank you all for another amazing release :raised_hands:
Golfing
Remove all the bytes (#2665, thanks @developit)
Bug Fixes
Fix state turned
readonlyin update fn (#2717, thanks @marvinhagemeister)Fix deprecation warnings flooding console with
preact/debug(#2711, thanks @marvinhagemeister)Initialize normalized props with
undefinedinstead ofnullinpreact/compat(#2695, thanks @aralroca)Add React "secret or fired" shim for
react-relay(#2692, thanks @marvinhagemeister)Properly unset
hrefon nullish value (#2693, thanks @marvinhagemeister)Go back to
undefinedas default value foruseRef(#2689, thanks @marvinhagemeister)preact/debug: Add component stack to prop type validation error, do not pass ref to prop-types validation (fixes mui incompatbility) (#2685, thanks @sventschui)
Typings
Update
useDebugValuetypings to align with React (#2699, thanks @leader22)Remove
useErrorBoundarycompat types (#2631, thanks @38elements)Add support for
IntrinsicElementsinComponentProps(#2680, thanks @remcohaszing)
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.