top | item 27442205

(no title)

dasb | 4 years ago

Thanks.

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

discuss

order

MatthewPhillips|4 years ago

No. Svelte are big proponents of the SPA pattern so I'm doubtful they would ever build something like this.

jiofih|4 years ago

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.