3 ms·
> SPAs are a lot of work to get right I agree. It's trivial to render a component based on a route change but there are so many little problems and moving piec
by pier25 7y ago
> SPAs are a lot of work to get right
I agree. It's trivial to render a component based on a route change but there are so many little problems and moving pieces after that.
I've been doing SPAs for 5-6 years and for my current project I've moved to SSR + hydration with Svelte.
- el_dev_hell 7y agoWhat are you using for SSR with Svelte?
- pier25 7y agoI'm using Cloudflare Workers but I made a little demo with Node and Fastify here: https://github.com/PierBover/svelte-ssr-example https://github.com/PierBover/svelte-ssr-example