Reference
Client API
Reference for client runtime helpers.
Client APIs configure how component effects run in the browser.
ClientRuntime.make
import { ClientRuntime } from "svelte-effect-runtime";
ClientRuntime.make(layer);Registers the layer used by browser-side Effect programs. Call it once from src/hooks.client.ts.
Default runtime
If no runtime is registered, the package creates a default empty-layer runtime lazily. That is enough for pure effects and examples.