SvelteKit Remote Functions
Installation
SKILL.md
SvelteKit Remote Functions
Remote functions allow calling server-side code directly from client components with full type safety. They replace many use cases for load functions and form actions.
Status: Experimental (requires configuration)
Setup
Enable in svelte.config.js:
const config = {
kit: {
experimental: { remoteFunctions: true }
},
compilerOptions: {
experimental: { async: true }
}
};