preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
Upgrading preact From 5.6.0 to 5.7.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 2
- fixes
Release by release
- Fixed
Correct regression introduced in
5.6.0where re-rendering components with the same root node could duplicate their DOM. Fixes #257. - Fixed
Fix for all empty vnodes (
"",null, etc) rendering a comment - this should only occur when an empty vnode is returned from a component'srender().
- Fixed
2 other lines we could not sort, mostly version bumps
- 5.7.0
Enforce
this.propsandthis.context, even when a class improperly inherits fromComponent(eg: callssuper()without forwarding arguments) - 5.7.0
Make event handler "on" prefix case-insensitive
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.