2025 recap - Foundry Modules 🤝 Svelte - 4+ years of building FVTT modules using Svelte"

All the way back in 2020, almost 5 years ago, I started writing my first Foundry modules. Since then, a lot has happened.

Quick Insert, the module I built with Svelte was released in May 2020, for Foundry version 0.5.0. Foundry was in its infancy, Svelte was still pretty new, hell, I was still pretty green as a TypeScript developer.

Svelte has changed

Since 2020, Svelte has expanded a lot with SvelteKit, … Svelte 5 recently came out, which updates the way we instance and mount Svelte components.

Foundry has changed

A lot has happened with most of the core APIs in Foundry since 2020. On the other hand, not a lot has happened to the basics of Foundry applications until recently. Most apps in Foundry still use the original Application class. Since version 12, we have a replacement, ApplicationV2. It introduces some changes that simplify the integration of Svelte or other frameworks.

More people have made Foundry modules with Svelte

I don’t know for sure if I released the first Foundry module with Svelte, but I was certainly not the last. There are not multiple large modules using Svelte, and there’s even an entire Foundry module application framework built with Svelte. https://github.com/typhonjs-fvtt-lib/runtime