Adding a little interactivity

🦔 🦔 🦔

There's this architecture called islands of interactivity – where you add little interactive bits here and there on an otherwise static website. And that sure reminds me of Flash – you'd have a static website, but it'd have an an interactive SWF file embedded, which would include fun stuff.

I like that approach. The website still works just fine if you don't have JavaScript, but at the same time you can bring in fun bits of interactivity. Make little apps and stuff. So I tried building this for my website too, and the little React hello world is a demonstration of that.

These days, react.dev tries really hard to force you to use stuff like Next.js and whatnot. But if you try, you can figure out how to build some little toy web apps that don't require you to get weird with web servers. Just write some code and just make yourself a little app that'll sit in its own rectangle. It's not a big deal. It's not the next big startup. It's just there for you and whoever else you share it with.

I really do miss Flash.

🦔 🦔 🦔

source code