- WHATWG HTML template element https://html.spec.whatwg.org/multipage/scripting.html#the-template-element
The HTML <template>
element is a mechanism for holding client-side content that is not to be rendered when a page is loaded but may subsequently be instantiated during runtime using JavaScript.
Think of a template as a content fragment that is being stored for subsequent use in the document. While the parser does process the contents of the element while loading the page, it does so only to ensure that those contents are valid; the element's contents are not rendered, however.
This is a DocumentFragment
returned of the <template>
content.
- whatwg/html#2254
- https://github.com/w3c/webcomponents/blob/gh-pages/proposals/Template-Instantiation.md
- https://skillsmatter.com/skillscasts/10805-an-isomorphic-journey-to-a-lighter-and-blazing-fast-virtual-dom-alternative#video
- https://people.cs.pitt.edu/~kirk/cs1501/Pruhs/Spring2006/assignments/editdistance/Levenshtein%20Distance.htm
- https://gist.github.com/WebReflection/267689ec54d7267c853c47480bd35282
- WebReflection/hyperHTML#100
- https://github.com/webcomponents/template