Skip to content

Commit ceaa2e0

Browse files
committed
docs: add keywords section
1 parent 3a96d53 commit ceaa2e0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

guides/release/components/template-tag-format.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ import { LinkTo } from '@ember/routing';
187187
import { Textarea } from '@ember/component';
188188
```
189189

190+
#### Keywords
191+
192+
While most items should be imported into scope explicitly, some of the existing constructs in the language are unimportable and are available as keywords instead:
193+
194+
`action`, `debugger`, `each-in`, `each`, `has-block-params`, `has-block`, `hasBlock`, `if`, `in-element`, `let`, `link-to` (non-block form curly invocations), `loc`, `log`, `mount`, `mut`, `outlet`, `query-params`, `readonly`, `unbound`, `unless`, `with`, and `yield`
195+
196+
These keywords do not have to be imported into scope and will always be ambiently available.
197+
190198
<div class="cta">
191199
<div class="cta-note">
192200
<div class="cta-note-body">

0 commit comments

Comments
 (0)