HTMLBars serves as a polyfill for a native implement of node.bind
.
Instead of letting the browser parse the HTML and generate nodes, which leaves us at the mercy of the limitations of the parser, HTMLBars implements an HTML parser and generates the nodes itself.
As HTMLBars generates the nodes, it calls into node.bind
if it detects mustache syntax.
Open questions:
- MDV "syntaxes"