News for hackers. Stuff that matters.
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.
Re:Thoughts on Svelte by jamincan on Monday March 27, 2023 @12:32PM (#35328770)
I'm admittedly a JS/TS and Svelte novice, but I think you can still do the transformations within your load function, just making sure they're part of a promise you return.