From d53fd611f375695128927bfba1cfff34d72f06af Mon Sep 17 00:00:00 2001 From: Scotty Simpson Date: Thu, 2 May 2019 08:24:43 -0700 Subject: [PATCH] clarify autosubscription scope requirement (#2653) --- site/content/tutorial/08-stores/02-auto-subscriptions/text.md | 2 ++ 1 file changed, 2 insertions(+) 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..af584261f4 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}

``` +> Auto-subscription only works with store variables that are 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 `