DEV Community

Discussion on: Svelte Reactivity and Stores

Collapse
bigi profile image
Bigi Lui Author

I think stores are great as a global state holder for your application (usually SPA, but can be just a simple app without pages too).

I think of it as something like a global variable accessible by all components within your Svelte app, and that its value changes are automatically/reactively reflected in all your components (when done right ;).