Svelte · Middle · Question 25 of 75
When do stores still make sense in Svelte 5?
- ✓Correct answer: For complex async streams or when you need manual control over subscription, e.g. integrating RxJS
- 2For any shared state; runes can't be shared
- 3Never, stores were removed
Explanation
For most cross-component state, $state in .svelte.js modules or classes is simpler.