preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
10.29.8 is the newest release of 10.x.
In short
1 new3 fixed5 changed4 internal
Release note
tl;dr: Another bug-fix only release. It's safe to upgrade and we encourage everybody to do so :+1:
It's sunny today and I haven't been outside yet, so I'll make it quick: Those pesky ref TypeScript errors when used with a CSS-in-JS library should be no more! So if you're using styled-components, emotion, goober or any other CSS-in-JS library, this update is for you! :100:
@robertknight found that false values where not special cased for aria-* attributes as they have a different way of treating boolean values compared to the DOM. Many boolean-like attributes like aria-checked have three states:
trueelement is checkedfalseelement is unchecked, but it's possible to check itundefined(default) element can't be checked
As usual thank you so much for everyone who helped make Preact better by contributing code or reporting issues! You all rock :+1:
Bug Fixes
Add support for
falsevalue in aria-attributes (#2347, thanks @marvinhagemeister)Remove array provided to callback in
React.Children.mapand.forEach(#2326, thanks @mhmdanas)Fix
React.Children.map/forEachmissing index (#2322, thanks @JoviDeCroock)
Typings
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.