preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
Upgrading preact From 7.0.0 to 7.2.1
6 releases in betweennotes for 5
Reading releases, release notes and advisories…
Release by release
7.2.1nothing new or fixed in the note
- New
Use a shared empty Array for
props.childrenwhen there are no children. Fixes simple shallow equality-basedshouldComponentUpdatefor leaf nodes 🎉 - New
Remove
instanceof SVGElementcheck in favor of duck typing. Fixes JSDOM compatibility and improves diff performance (#423, thanks @nhunzaker) - New
Better TypeScript Definitions: Component lifecycle methods, setState callback, etc
- Fixed
Fix IE issues from 7.1 and update test cases (huge thanks to @mkxml for the hard work on this 🙇)
- New
- New
Add a whole bunch of explanatory comments to the diff engine 🎉
- Fixed
Fix edge case when swapping component root
- Fixed
Fix diff reflow when removing leading element
- Fixed
Fixed TypeScript definition signature for linkState
- New
7.0.1 – 7.0.33 releases, nothing new or fixed; 1 without a note
4 other lines we could not sort, mostly version bumps
- 7.1.0
10x performance boost for initial rendering
- 7.1.0
Check existence of firstChild before checking if it is a Text node
- 7.1.0
Performance optimization for element/tree removal
- 7.1.0
Re-add short-circuit for PFC's (fixes compositional PFC triggering constant recycling)
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.