Re:Svelte 5 is going to be radical
by colesantiago on Tuesday August 08, 2023 @01:58PM
(#37053000)
Hey Rich,
Will Svelte or Sveltekit get incremental builds like NextJS?
(am not rich, just giving thoughts on why i disagree with the premise of the question) incremental build is a static site concern and i think its pretty clear the industry has more or less given up on that as a scaling strategy for websites in favor of serverless/edge rendering (which you can blend with static generation to get almost the same thing as incremental builds)
Re:Svelte 5 is going to be radical
by rich_harris on Tuesday August 08, 2023 @03:30PM
(#37054296)
As swyx said, it's probably not a priority for us. You can basically get the same benefits by using Incremental Static Regeneration, which is turnkey if you're using Vercel (not through any tight framework<->platform integration, but rather because the platform offers the feature and the Vercel adapter exposes it — any other platform could do the same thing): https://kit.svelte.dev/docs/adapter-vercel#incremental-stati...
Re:Svelte 5 is going to be radical
by x-complexity on Wednesday August 09, 2023 @01:45AM
(#37059095)
Big thanks for all the work you've done: I've been using SvelteKit mainly for experimentation & one-offs.
Svelte v3 -> v4 migrations have so far been a breeze for me: An entry update to package.json and an 'npm update' is all I need to do to migrate, and I've been doing basic CRUD & SSR/CSR SVG renders in my test projects.
I have no clue what kind of esoteric state management / render manipulations everyone else has been doing to make Svelte angry.
Thanks for the re-assurance. We've been migrating a huge app to svelte over the last 6 months and it's nice to hear it won't be become legacy on arrival ;)
Looking forward to the easy & incremental paradigm shift whatever it is.
I'm hoping there could be some improvements to composability and slot edge-case usage possibly?
But the thing you'll be able to easily and incrementally migrate _to_? It's radical.
I'll get off your lawn now.