Svelte recently announced a proposal for remote functions that's meant to be an alternative to load
functions in SvelteKit aimed to solve component-level data loading.
This repo includes the code example from https://github.com/dummdidumm/svelte-async-remote-functions-example, the Svelte async PR and SvelteKit RPC branch until the PR is out.
š§āš¤āš§ Clone the repo:
git clone https://github.com/mattcroat/svelte-rpc-example.git
š¦ļø Install dependencies:
pnpm i
š½ Run development server:
pnpm dev