Designing State Boundaries with Svelte Stores: An Architecture Note
An architecture note on Svelte stores: when shared state justifies a store, the read-only-export pattern that enforces a single write boundary, SSR caveats, and the leak and reactivity failure modes to check for.