Packages

preact

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

Your version

4.6.0

12 Apr 2016Where it was published

4.8.0 is the newest release of 4.x.

In short

1 fixed1 changed

Release note

  • Fix regression since 4.5.0 where key tracking for components would fail in some cases, causing components not to be recycled. Relates to #98 and the second issue noted in #120.

  • Switch to a global/named symbol Symbol.for('preactattr') for the prop cache key (still falling back to __preactattr_).

  • Address the state re-use issue noted in Issue #120 by manually re-invoking component constructors when re-using components from the recycler.

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.