Svelte 5 shared state: stores vs rune modules in a mixed SvelteKit codebase
We are mid-migration from Svelte 4 to Svelte 5 and need to settle one configuration decision before it spreads across the codebase: how shared client state should be declared going forward. Today we have roughly a dozen Svelte stores (writable and derived) consumed with the $store auto-subscription syntax in components. Svelte 5 runes ( $state , $derived ) a