Packages

preact

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

Your version

7.1.0

2 Dec 2016Where it was published

7.2.1 is the newest release of 7.x.

In short

1 new3 fixed4 changed

Release note

  • 10x performance boost for initial rendering

  • Fix edge case when swapping component root

  • Fix diff reflow when removing leading element

  • Check existence of firstChild before checking if it is a Text node

  • Performance optimization for element/tree removal

  • Re-add short-circuit for PFC's (fixes compositional PFC triggering constant recycling)

  • Fixed TypeScript definition signature for linkState

  • Add a whole bunch of explanatory comments to the diff engine 🎉

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.