From 341e41a653bffb2016d2414e3ef2ccdab4596178 Mon Sep 17 00:00:00 2001 From: Artur Carvalho Date: Wed, 8 May 2019 20:15:56 +0200 Subject: [PATCH] Change from "store name" to "store variable" --- site/content/tutorial/08-stores/02-auto-subscriptions/text.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/content/tutorial/08-stores/02-auto-subscriptions/text.md b/site/content/tutorial/08-stores/02-auto-subscriptions/text.md index af584261f4..174856d7be 100644 --- a/site/content/tutorial/08-stores/02-auto-subscriptions/text.md +++ b/site/content/tutorial/08-stores/02-auto-subscriptions/text.md @@ -26,7 +26,7 @@ One way to fix it would be to use the `onDestroy` [lifecycle hook](tutorial/onde

The count is {count_value}

``` -It starts to get a bit boilerplatey though, especially if your component subscribes to multiple stores. Instead, Svelte has a trick up its sleeve — you can reference a store value by prefixing the store name with `$`: +It starts to get a bit boilerplatey though, especially if your component subscribes to multiple stores. Instead, Svelte has a trick up its sleeve — you can reference a store value by prefixing the store variable with `$`: ```html