preact
11.2.0 · 6 Nov 2026MIT63.1M / weekRepositoryHomepagenpmAtom feed
Your version
4.8.0 is the newest release of 4.x.
In short
2 changed
Release note
Merge #106: removes some unnecessary code, drops ~50 bytes
Lazy-instantiate the internal mapping for
linkState()and setState's callback queue.This reduces allocation cost for components. It also reduces overall memory consumption for classful components that don't make use of those given features (certainly the common case for
setStatecallback)
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.