Skip to content

Efficiency improvement

Compare
Choose a tag to compare
@g105b g105b released this 08 Aug 12:21
· 137 commits to master since this release
1363748

This release changes the internal mechanism for binding lists to the DOM. Rather than appending Elements to the DOM tree in-place, a list is built up in a separate DocumentFragment, and once complete, the fragment is appended to the ParentNode, greatly improving page render speeds on complex documents with many nodes.

Another efficiency improvement is the addition of data-bindparameter` attribute, which now must be added to any Element that will have its parameters bound inline, using curly braces. This is a small backwards breaking change, hence the minor version increment, as before any parameters containing curly braces would be automatically bound.