Shared Todos
React todo manager syncs with a Svelte list display via RPC.
Add, check, and remove todos in the React app — the Svelte app renders a synced list with progress stats.
React Todos ──todos-change──▷ Host ──todos-update──▷ Svelte ListInitializing Aiga framework...
How It Works
- The React app manages a full todo list with add, toggle complete, and delete
- On every change, it sends the entire todo array via
rpcEmit('todos-change', { todos }) - The Svelte list receives
todos-updateand renders items with a progress bar showing completion stats - State lives in the React app; the Svelte app is a pure display consumer