News for hackers. Stuff that matters.
Re:SvelteKit Is in Public Beta by benbro on Tuesday March 23, 2021 @03:42PM (#26559446)
Can I use it for SPA? Something like an Angular app with all the code running on the client side with routing (no SSR).
Re:SvelteKit Is in Public Beta by rich_harris on Tuesday March 23, 2021 @03:53PM (#26559590)
Not currently, but this will be implemented soon (and certainly before 1.0) https://github.com/sveltejs/kit/issues/231
Re:SvelteKit Is in Public Beta by pier25 on Tuesday March 23, 2021 @05:25PM (#26560592)
Will SvelteKit follow the same pattern as Sapper?

As in, after the first SSR'd page the app becomes an SPA.

Re:SvelteKit Is in Public Beta by rich_harris on Tuesday March 23, 2021 @06:03PM (#26560934)
Yes
Re:SvelteKit Is in Public Beta by pier25 on Wednesday March 24, 2021 @02:41PM (#26571313)
Hopefully, it will be possible to disable this behavior.
Re:SvelteKit Is in Public Beta by joelellis on Wednesday April 07, 2021 @12:04PM (#26726869)
Disabling the `hydrate` option does this. ( https://kit.svelte.dev/docs#configuration-hydrate )