Svelte recently announced a proposal for remote functions that's meant to be an alternative to SvelteKit load functions for component-level data loading.
This repo includes the Asynchronous Svelte PR and the SvelteKit Remote Functions PR.
π§βπ€βπ§ Clone the repo:
git clone https://github.com/mattcroat/svelte-remote-functions.gitπ¦οΈ Install dependencies:
pnpm iπ½ Run development server:
pnpm dev