# Glimmer Component Change Detection Not Working - Mutating Properties in @tracked Array

**URL:** https://meta.discourse.org/t/glimmer-component-change-detection-not-working-mutating-properties-in-tracked-array/378246
**Category:** Development
**Created:** [August 12, 2025, 5:45am UTC](https://meta.discourse.org/t/glimmer-component-change-detection-not-working-mutating-properties-in-tracked-array/378246 "2025-08-12T05:45:09Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [August 12, 2025, 1:44pm UTC](https://meta.discourse.org/t/glimmer-component-change-detection-not-working-mutating-properties-in-tracked-array/378246/4 "2025-08-12T13:44:12Z")

</div>

I believe when you track an array like described in OP you’re tracking the array reference and not changes to the individual objects within the array

Another way to handle it is using `trackedObject`, we use this in a handful of places throughout Discourse

> <https://github.com/discourse/discourse/blob/711990aa3d53ac7e4cc861a8bc6a77b43490cb03/app/assets/javascripts/discourse/app/components/discovery/filter-navigation-menu.gjs#L80>

---

_[View the full topic](https://meta.discourse.org/t/glimmer-component-change-detection-not-working-mutating-properties-in-tracked-array/378246)._
