preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
5.7.0 is the newest release of 5.x.
In short
2 new4 fixed
Release note
Features
When rendering
null, a comment node will be inserted instead of an empty TextNode.When using
linkState()with components instead of DOM elements, use the first argument passed to the event handler as the default value unless a path is given.
Bug Fixes
Fix case where switching from a String to Object style value would attempt to assign numeric CSS properties to the element
Fix bug where using all lowercase event names would skip bypass binding implementation (but still mostly work)
Fix and test for double-nulling of refs when changing the type of a component's root DOM element
Fix IE bug caused by assigning to the
nodeValueproperty of a TextNode that has been removed from the DOM.
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.