Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@tusharmath tusharmath released this 07 May 07:13
· 3 commits to master since this release
d915cb5

2.0.0 (2018-05-07)

Bug Fixes

  • hh: handle empty streams (c245dfa)
  • hh: use super.remove() instead of this.remove() (6b410c9)
  • internal: dispatch childless elements immediately (db94ed7)
  • internal: fix typings (193233d)

Code Refactoring

  • hh: reactive elements are emitted as soon as they are created (7f83309)
  • hh: remove unnecessary usage of span when a text needs to be inserted (c008363)
  • internal: simplify implementation (7d50f34)

Features

  • demo: add todo app (301307b)
  • hh: add support for event listeners (9c4462d)
  • hh: add support for removal of dom nodes when not needed anymore (2808211)
  • hh: add support to auto convert text to stream (a311f05)
  • hh: add support to set attributes (22512ac)
  • hh: add support to set props attrs and style without forcing into an observable (ade2062)
  • internal: add hStatic util (3aebd8b)
  • style: add support for style$ (9661546)

BREAKING CHANGES

  • internal: complete re-write
  • hh: using Text() instead of Span() for pure string content
  • hh: DOM nodes are emitted immediately instead of waiting for child elements