github preactjs/preact 6.1.0

latest releases: 10.22.0, 10.21.0, 10.20.2...
7 years ago
  • Tons of little optimizations!
  • Don't skip empty values in extend() (and thus in setState()). Fixes #308.
  • Address ownership issue when rendering using reclaimed DOM. Fixes #297.
  • Fix issue where re-rendering an intermediary high order component could remove (or fail to add) the associated element.
  • When removing old props from the DOM, skip those with empty values.
  • Exclusively rely on DOM state when diffing value and checked props. Fixes #326.
  • Use strict equality when comparing attribute values against prop values. Fixes #327.
  • Upon initial entry into diff, check if the diff should start out in SVG mode. Fixes #331.
  • Fix prop cache reset triggering in the wrong case (affected performance)
  • Add typings path to package.json. Fixes #318.
  • Add support for single level of array children in h() (#313)
  • Move both className to class normalization and hashed class stringification out of h() and into the DOM renderer.
    • Tiny possible breakage here: if you were creating VNodes using className and expecting them to have attributes.class instead of attributes.className, that is no longer the case.

Don't miss a new preact release

NewReleases is sending notifications on new releases.