Popupsmart · Embedded web
Embeds that run on other websites
Preact · TypeScript · Vite · Cloudflare
Our script had to run on other people's pages. Their CSS, other scripts and loading order could affect it, so a working component on our test page wasn't enough.
What I worked on
At Popupsmart I worked on the Vite and Preact runtime, the Next.js dashboard and the connection between them. I also worked on caching and Cloudflare delivery to use the origin more efficiently.
What I'd keep in mind
I'd write down the runtime's boundaries earlier: what it can change on the page, what it owns and what needs cleaning up when it closes. That gives the next feature a clearer starting point.