github preactjs/preact 4.0.0

latest releases: 10.24.3, 10.24.2, 10.24.1...
pre-release8 years ago
  • Add support for refs!
  • Add support for defaultProps (static property on Components)
  • Possibly Breaking Change: cache rendered DOM with components when recycling
  • Possibly Breaking Change: don't wipe recycled DOM nodes, simply diff when re-used
  • Use setImmediate() to improve setState() performance where available
  • Skip empty values when serializing style objects
  • Coerce falsey className and style values to an empty string to avoid class="null" and style="null"
  • Rename missing component insert from <x-undefined-element> to <undefined>
  • Use a Symbol for storing the prop cache where available

Don't miss a new preact release

NewReleases is sending notifications on new releases.