Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions guides/release/in-depth-topics/autotracking-in-depth.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,10 @@ like `this.greeting` or `@name` argument, that's less clear. It appears
should probably change, right? At the least, we should _check_ to see if it
should change.

In order to tell Ember a value might change, we need to mark it as _trackable_.
Trackable values are values that:
If a value can change and the change should cause Ember to re-render, then
the value should be tracked.

1. Can change over their component’s lifetime and
2. Should cause Ember to rerender if and when they change

We can do this by marking the field with the `@tracked` decorator:
To track such values, we mark them with the `@tracked` decorator:

```gjs {data-filename=app/components/hello.gjs data-diff="+2,-5,+6"}
import Component from '@glimmer/component';
Expand Down