preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
Upgrading preact From 6.0.0 to 6.4.0
7 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 8
- new
- 11
- 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
- New
Add typings path to
package.json. Fixes #318. - New
Add support for single level of array children in h()
- Fixed
Don't skip empty values in
extend()(and thus insetState()). Fixes #308. - Fixed
Fix issue where re-rendering an intermediary high order component could remove (or fail to add) the associated element.
- Fixed
Fix prop cache reset triggering in the wrong case (affected performance)
- New
- Fixed
Fix
<input list="id">when datalist element is placed after the input in the DOM (Issue #294, thanks @vutran!) - Fixed
Fix HMR issue caused by recycling of a re-used Component base. (Issue #295, thanks @katopz!)
- Fixed
6.0.1nothing new or fixed in the note
9 other lines we could not sort, mostly version bumps
- 6.2.0
Rename
Component._disableRenderingtoComponent._disableto save a few bytes - 6.1.0
Tons of little optimizations!
- 6.1.0
Address ownership issue when rendering using reclaimed DOM. Fixes #297.
- 6.1.0
When removing old props from the DOM, skip those with empty values.
- 6.1.0
Exclusively rely on DOM state when diffing
valueandcheckedprops. Fixes #326. - 6.1.0
Use strict equality when comparing attribute values against prop values. Fixes #327.
- 6.1.0
Upon initial entry into diff, check if the diff should start out in SVG mode. Fixes #331.
- 6.1.0
Move both
classNametoclassnormalization and hashedclassstringification out ofh()and into the DOM renderer. - 6.0.1
Make 6.x the official latest release!
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.