html
import { html } from "https://raw.githubusercontent.com/melhosseiny/flare/main/flare.js";Template tag that returns the interpolated string as a DOMFragment and a dependency -> array of elements Map.
Dependencies have to be explicitly defined in the template by adding a 'ref' attribute to the element, and an element can have multiple dependencies (e.g., ref="a" or ref="a b").
Dependencies can be nested, as long as they are different.
function html(strings, ...values);