Packages

preact

11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed

Your version

5.7.0

18 Aug 2016Where it was published

In short

2 fixed2 changed

Release note

  • Correct regression introduced in 5.6.0 where re-rendering components with the same root node could duplicate their DOM. Fixes #257.

  • Enforce this.props and this.context, even when a class improperly inherits from Component (eg: calls super() without forwarding arguments)

  • Fix for all empty vnodes ("", null, etc) rendering a comment - this should only occur when an empty vnode is returned from a component's render().

  • 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.