import { html } from "https://deno.land/x/pouch@v0.0.8/deps.ts";
Uses htm (Hyperscript Tagged Markup) under
the hood and works in all modern browsers. The function html
takes a
tagged template and processes the AllowedExpressions
where falsy values
are converted to an empty string and number
s are stringified.
The children, who match the id
and class
selectors marked with an @
sign,
will be added to the object this.dom
in the process.
It adds EventListeners
with addEventListener(event, listener.bind(this))
,
so you don't need to use arrow functions anymore.