Packages

preact

11.2.0 · 6 Nov 2026MIT63.1M / weekRepositoryHomepagenpmAtom feed

Your version

4.1.2

9 Mar 2016Where it was published

4.8.0 is the newest release of 4.x.

In short

2 fixed

Release note

This is purely a bug fix release, so be sure to update if you're using Preact 4.x.

Bugs Fixed

  • Fix orphaned keyed VNodes not being removed in certain cases, such as when there are adjacent non-orphaned non-keyed VNodes (see developit/preact-compat#21)

  • When diffing a component against a non-component VNode, if the component render returns a different DOM node, make sure to reclaim the original node. (Issue #73)

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.