domView = ({ className = "" } = {}) => {
const dom = document.createElement("div");
dom.className = className;
dom.value = undefined;
invalidation.then(dom.addEventListener("input", () => {}));
Object.defineProperty(dom, "value", {
set: (value) => {
if (dom.firstChild) dom.textContent = "";
if (value) dom.appendChild(value);
},
get: () => dom.firstChild
});
return dom;
}