github preactjs/preact 5.6.0

latest releases: 10.21.0, 10.20.2, 10.20.1...
7 years ago

Features

  • When rendering null, a comment node will be inserted instead of an empty TextNode.
  • When using linkState() with components instead of DOM elements, use the first argument passed to the event handler as the default value unless a path is given.

Bug Fixes

  • Fix case where switching from a String to Object style value would attempt to assign numeric CSS properties to the element (#233)
  • Fix bug where using all lowercase event names would skip bypass binding implementation (but still mostly work)
  • Fix and test for double-nulling of refs when changing the type of a component's root DOM element (#243)
  • Fix IE bug caused by assigning to the nodeValue property of a TextNode that has been removed from the DOM.

Don't miss a new preact release

NewReleases is sending notifications on new releases.