A slide from my React Miami talk in a few days. Has Svelte (and SvelteKit) made any progress here? The main benefit of isomorphic loaders is that they can integrate with client-side data caches to enabled fine-grained loading, and invalidation.
Does Svelte have tools for this?
Does Svelte have tools for this?
Comments
Partial loader/ invalidation is likely the ideal solution for SK.
Like, is there functionality to server fetch data on initial render in the loader, and then seed that server data into the client for that same initial query?
Sorry if dumb question - not immediately clear from link
> seed that server data into the client for that same initial query
That's the default behavior of SK loader, but it's not fine-grained if you want to do partial invalidation (not rerun the whole load function).
I'm working on a simple hook utilizing url search params, which can be integrated in the load function.
https://bsky.app/profile/davipon.bsky.social/post/3lkj2feqtd22u