preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
Upgrading preact From 6.1.0 to 6.4.0
4 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 6
- new
- 6
- fixes
Before you upgrade
Tick each one off as you go- Breaking6.2.0
Release by release
- New
Preliminary React DevTools support thanks to the amazing @robertknight! 🙇
- Fixed
Prevent against reassignment of the same value to TextNodes in Firefox (#368, thanks @zbinlin)
- Fixed
When swapping the base of a composed child component, update its parent's base reference
- Fixed
Prevent accidental duplicate recycling of elements when swapping a component's root element (#373, thanks @jakearchibald)
- New
6.2.1 – 6.3.02 releases, nothing new or fixed in the notes
- 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
- Breaking
1 other line we could not sort, mostly version bumps
- 6.2.0
Rename
Component._disableRenderingtoComponent._disableto save a few bytes
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.