resource posted by harunzafer
SvelteKit SPA: when to use onMount, page.ts (awaited), and page.ts (stream)
A practical guide to picking the right data loading pattern for each page in a SvelteKit SPA. All three approaches have a place; here's how to choose.