svelte-rpc-example Svelte Themes

Svelte Rpc Example

šŸ”„ Svelte remote functions example

Svelte Remote Functions

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.

Getting Started

šŸ§‘ā€šŸ¤ā€šŸ§‘ Clone the repo:

git clone https://github.com/mattcroat/svelte-rpc-example.git

šŸ“¦ļø Install dependencies:

pnpm i

šŸ’½ Run development server:

pnpm dev

Top categories

Loading Svelte Themes