Example how to do server-side rendering (SSR) in Svelte 4
In Svelte 3 you could easily server-side-render any component using svelte/register, but since the deprecation of svelte/register in Svelte 4, I've been looking for a way to achieve the same. Check ssr.js for a simple example.