# Problem tracking nested structure

**URL:** <https://meta.discourse.org/t/problem-tracking-nested-structure/320886>\
**Category:** Development\
**Created:** [August 9, 2024, 12:12pm UTC](https://meta.discourse.org/t/problem-tracking-nested-structure/320886 "2024-08-09T12:12:57Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [August 9, 2024, 1:35pm UTC](https://meta.discourse.org/t/problem-tracking-nested-structure/320886/6 "2024-08-09T13:35:26Z")

</div>

`@computed` is part of Ember’s classic reactivity system. It’s not officially deprecated, but we try to avoid adding it to new code.

If your getter is complicated enough to warrant caching, then you can use [`@cached`](https://api.emberjs.com/ember/release/functions/@glimmer%2Ftracking/cached):

```js
import { cached } from "@glimmer/tracking";

...

@cached
get statusMessage() {
  // this might be a lot more complicated
  return this.args.topic.my_metadata.status;
}

```

---

_[View the full topic](https://meta.discourse.org/t/problem-tracking-nested-structure/320886)._
