example-svelte
Installation
SKILL.md
Svelte Composition Patterns
Integrate Helios into Svelte components using Svelte Stores to manage frame state reactivity efficiently.
Quick Start
1. Create Helios Store
Wrap the Helios instance in a readable store to make state reactive.
// lib/store.js
import { readable } from 'svelte/store';
export const createHeliosStore = (helios) => {
return readable(helios.getState(), (set) => {
// Set initial value
set(helios.getState());