preact
11.2.0 · 6 Nov 2026MIT63.1M / weekRepositoryHomepagenpmAtom feed
Upgrading preact From 3.1.0 to 3.4.0
3 releases in betweenevery note read
Release by release
- Fixed
Fix for
keybehaviour, and don't write keys to the DOM as attributes.
- Fixed
- New
Add
Component.prototype.forceUpdate()method. - Fixed
Fix a bug where a child component of a high-order component self-rendering (eg: via
setState()) would cause a subsequent re-render of the parent component to re-initialize itself and the child (through the recycler, but this was causing thrash). - Fixed
Fix an issue where nested components would not receive unmount lifecycle hooks (fixes Issue #47)
- New
3.2.0nothing new or fixed in the note
4 other lines we could not sort, mostly version bumps
- 3.3.0
Performance tuning for a ~10% improvement on DBMonster (basically 10% faster diff algorithm)
- 3.3.0
Refactored diff algorithm to be easier to follow
- 3.2.0
Bugfix: Pass
contextthrough recycled constructors (with thisreact-reduxis now fully supported!) - 3.2.0
linkState()when used with top-level keys (ie, not dot-notated) will no longer mutatethis.statein-place.
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.