From 3147d3b68b24499d79b2910c2f9cb97bd4adaed8 Mon Sep 17 00:00:00 2001 From: "rico@yoga" Date: Sun, 29 Mar 2020 01:57:18 +0100 Subject: [PATCH] Tutorial/stores writable, comment added cf issue #4407 --- site/content/tutorial/08-stores/01-writable-stores/text.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site/content/tutorial/08-stores/01-writable-stores/text.md b/site/content/tutorial/08-stores/01-writable-stores/text.md index 57c27411ea..1a267a154d 100644 --- a/site/content/tutorial/08-stores/01-writable-stores/text.md +++ b/site/content/tutorial/08-stores/01-writable-stores/text.md @@ -24,4 +24,6 @@ Finally, in `Resetter.svelte`, implement `reset`: function reset() { count.set(0); } -``` \ No newline at end of file +``` + +In the particuliar case of Single Page Application, different routes as usually rendered as components. One could be tempted to use store to keep a global application state. Bear in mind that in practice, if users reload from their browser, store variables will be erased. \ No newline at end of file