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.
Changelog
<input />
elements not being updated properly.dot-dom
from npm.createElement
function properties and methods through theProxy
. This fixes an issue withH.apply
.ADDED: Support for shallow arrays as
H
children. For example:For keeping the 512 byte thresshold
.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.