Hacker News new | ask | show | jobs
by dasb 1836 days ago
Thanks.

What if only some components in my page require Javascript? Can the same "partial hydration" be achieved?

1 comments

No. Svelte are big proponents of the SPA pattern so I'm doubtful they would ever build something like this.
Svelte by its nature only generates JS for the dynamic pieces of the page, if you’re using SSR it’s already “partially hydrated”.

Vue3 can also ignore static parts which gives similar benefits.