Own it · example handover · app/
src/main.tsx
← All files · the demo this builds
/**
* Spreadsheet Rescue demo entry — same embed contract as every demo:
* the site tap-loads this module; it finds its slot and takes over.
*/
import { render } from "preact";
import { App } from "./ui/app.js";
import "./demo.css";
const host = document.querySelector('[data-demo="spreadsheet-rescue"]');
if (host instanceof HTMLElement) {
host.classList.add("is-live");
host.innerHTML = "";
render(<App />, host);
}