Skip to content

v0.2.2

Compare
Choose a tag to compare
@wavesoft wavesoft released this 18 Feb 09:39
· 139 commits to master since this release

In this release most of the major issues have been addressed and the core API is stabilised.

Changelog

  • ADDED: Not updating DOM properties if they are already the same. This fixes an issue with the <input /> elements not being updated properly.

  • ADDED: NPM-glue script for properly importing dot-dom from npm.

  • ADDED: Correctly passing-through the createElement function properties and methods through the Proxy. This fixes an issue with H.apply.

  • ADDED: Support for shallow arrays as H children. For example:

    H('div', 'foo', ['bar', 'baz'])
    // .. is the same as ...
    H('div', 'foo', 'bar', 'baz')

For keeping the 512 byte thresshold

  • REMOVED: Not excluding .C from being applied as property to the DOM element. This saves a few bytes and having this extra property in the DOM element instance is not really affecting any visual behaviour.