You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/release/configuring-ember/disabling-prototype-extensions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,13 +41,13 @@ native arrays with things like a template's `{{#each}}` helper, Ember.js
41
41
will have no way to detect changes to the array and the template will
42
42
not update as the underlying array changes.
43
43
44
-
You can restore automatic tracking of changes by replacing your native array with a `TrackedArray` from the 'tracked-built-ins' library.
44
+
You can restore automatic tracking of changes by replacing your native array with a `trackedArray` from [@ember/reactive/collections](https://api.emberjs.com/ember/release/modules/@ember%2Freactive%2Fcollections).
Copy file name to clipboardExpand all lines: guides/release/in-depth-topics/autotracking-in-depth.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -322,12 +322,12 @@ Generally, you should try to create classes with their tracked properties
322
322
enumerated and decorated with `@tracked`, instead of relying on dynamically
323
323
created POJOs. In some cases however, if your usage of properties on POJOs is
324
324
too dynamic, you may not be able to enumerate every single property that could
325
-
be tracked. In this case, you can use `TrackedObject` from `tracked-built-ins`:
325
+
be tracked. In this case, you can use `trackedObject` from [@ember/reactive/collections](https://api.emberjs.com/ember/release/modules/@ember%2Freactive%2Fcollections):
All property reading and writing on this object is automatically tracked.
340
-
`TrackedObject` is "shallowly" tracked. `obj.c = 4` would be tracked, but
340
+
`trackedObject` is "shallowly" tracked. `obj.c = 4` would be tracked, but
341
341
`obj.c.somethingDeeper = 5` would not be tracked unless you've also made sure
342
-
that the contents of `obj.c` is itself another `TrackedObject`.
342
+
that the contents of `obj.c` is itself another `trackedObject`.
343
343
344
344
345
345
#### Arrays
346
346
347
-
When you want to track the contents of an Array, you can use `TrackedArray` from
348
-
`tracked-built-ins`:
347
+
When you want to track the contents of an Array, you can use `trackedArray` from[@ember/reactive/collections](https://api.emberjs.com/ember/release/modules/@ember%2Freactive%2Fcollections):
0 commit comments