First, when I joined the project, it wasn’t clear how it would be published. Svelte, which outputs compiled JavaScript, can fit into many CMS workflows that newspapers/publishers use.
I believe Svelte was developed by Rich Harris at the NY Times for this very reason.
We ended up using iFrames, so other frameworks like React could have been used.
Second, Svelte is very well suited for these small interactives because it has built-in state, transitions, and reactivity with low overhead.
Third, it was a personal choice, as I now do most of my work in Svelte.
I believe Svelte was developed by Rich Harris at the NY Times for this very reason.
We ended up using iFrames, so other frameworks like React could have been used.
Second, Svelte is very well suited for these small interactives because it has built-in state, transitions, and reactivity with low overhead.
Third, it was a personal choice, as I now do most of my work in Svelte.