Yep! And to modify the data you use form actions :) it really is very beautiful once you get the full data flow
Re:Thoughts on Svelte
by markjaquith on Monday March 27, 2023 @12:24PM
(#35328662)
For performance reasons, you might not want to wait for promises to resolve in your load function, though. My app got way faster once I switched to streaming promises.
> The logic also didn't belong inline in the rendering code, though. So where does it go?
I think the idea would normally be that you would handle loading the data in +page.ts and do any transformations there, and only deal with rendering and ui elements in the +page.svelte file.