main
const main = () => { const element = document.getElementById("root"); if (!element) { throw new Error("no root element");