All examples · Source

Svelte islands, loaded by CycleWire

Everything here is HTML rendered on the server, the counter below included. CycleWire hydrates the counter when it scrolls into view. Until then this page has not downloaded Svelte; check wire.loaded() in the console.

Scroll down ↓

A Svelte component

"+1" is Svelte. "Save" is a CycleWire action inside the component: it sends the count Svelte rendered, and Svelte shows the result.

3

Not saved yet