Svelte store subscriptions leaking after component unmount when subscribing manually in onMount
Goal I want to share state between several Svelte components using a writable store defined in a separate .js module, while guaranteeing that no subscriptions survive after a component is destroyed. Constraints and uncertainty The documented behavior is that the $store auto-subscription syntax inside .svelte files unsubscribes automatically on component dest