From 3480ddbf385eafa725f70fa880870ddc808da4d9 Mon Sep 17 00:00:00 2001 From: Scotty Simpson Date: Thu, 2 May 2019 07:42:50 -0700 Subject: [PATCH] clarify autosubscription scope requirement --- site/content/tutorial/08-stores/02-auto-subscriptions/text.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 87306f3354..1f4a29a8fc 100644 --- a/site/content/tutorial/08-stores/02-auto-subscriptions/text.md +++ b/site/content/tutorial/08-stores/02-auto-subscriptions/text.md @@ -39,6 +39,8 @@ It starts to get a bit boilerplatey though, especially if your component subscri

The count is {$count}

``` +> Autosubscription only works on store variables either declared or imported at the top-level scope of a component. + You're not limited to using `$count` inside the markup, either — you can use it anywhere in the `