Packages

preact

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

Your version

4.5.0

19 Mar 2016Where it was published

4.8.0 is the newest release of 4.x.

In short

2 fixed2 changed

Release note

Bug Fixes

  • Fix context being null/undefined when unset. It should be an empty object.

  • Fix issue where ref (and key) were not being removed from props prior to being passed into component render (Issue #98)

Optimizations

  • Drop unnecessary cloning of props/context

  • Ship a more optimized default build by applying uglify-js without name mangling and with beautification (removes comments and applies dead code elimination)

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.