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 ;).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article. In what cases, should we be using the stores?
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 ;).