preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
Upgrading preact From 10.0.1 to 10.0.2
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Add debug warnings when calling
setStateorforceUpdateon an unmounted component (#2037, thanks @andrewiggins) - New
Add unpkg aliases (#2032, thanks @developit)
- New
Add
nonceto JSXHTMLAttributestypes for better Content Security Policy support. (#2035, thanks @calvinf) - Fixed
Support re-suspending with
<Suspense>(#2025, thanks @andrewiggins) - Fixed
Fix
refnot always called inuseImperativeHandle(#2021, thanks @JoviDeCroock) - Fixed
Fix internal
vnodetypings (#2015, thanks @pmkroeker)
- New
7 other lines we could not sort, mostly version bumps
- 10.0.2
Inline
coerceToVNodeinside oftoChildArray(-21 B) (#2040, thanks @andrewiggins) - 10.0.2
Remove unused mount check in context Provider (-6 B) (#2039, thanks @andrewiggins)
- 10.0.2
Golfed render (#2045, thanks @MohammedSheikhIbrahim)
- 10.0.2
Remove useless return from eventProxy (#2026, thanks @jridgewell)
- 10.0.2
Rewrite
useImperativeHandleto useuseLayoutEffect(-35 B) (#2003, thanks @andrewiggins) - 10.0.2
Re-purpose
renderCallbacksas a general per-component commit queue (#2011, thanks @andrewiggins) - 10.0.2
Remove internal import from compat types (#2018, thanks @andrewiggins)
8 internal lines (docs, tests, tooling) left out.
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.