preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
Upgrading preact From 7.1.0 to 7.2.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- 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
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.