Packages

preact

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

Upgrading preact From 6.1.0 to 6.2.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.1.0Newest 6.x6.4.0Latest11.2.0
  1. 6.1.0yours
  2. 6.2.0target
1
change to make
0
advisories fixed
5
new
3
fixes

Before you upgrade

Tick each one off as you go
  • Breaking6.2.0

Release by release

  1. 6.2.0

    Migration needed3 Oct 20165 new · 3 fixes
    • Breaking

      Removed undocumented support for getInitialState() on classful components.

    • New

      Support for infinitely nested children!

    • New

      Massive performance boost for h() (the hyperscript/jsx processor/reviver).

    • New

      Tons of little performance optimizations

1 other line we could not sort, mostly version bumps
  • Rename Component._disableRendering to Component._disable to save a few bytes

    6.2.0

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.