Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

StateLoom Svelte Example

A Svelte 5 + Vite example demonstrating StateLoom state management with the Svelte store contract.

Components

  • Counter -- signal + computed via toWritable/toReadable with $-syntax
  • TodoList -- createStore with devtools and persist middleware via toReadable
  • UserProfile -- atom + derived composition via toReadable
  • ProxyState -- observable + snapshot for mutable state with subscribe

Running

pnpm install
pnpm --filter example-svelte-vite dev