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 theProxy
. This fixes an issue withH.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.