window.addEventListener("load", () => {
console.log("im here!");
fetch("/api/component").then(e => e.json()).then(console.log);
});