# Tracked variable not found?

**URL:** <https://meta.discourse.org/t/tracked-variable-not-found/370793>\
**Category:** Development\
**Created:** [June 19, 2025, 5:06am UTC](https://meta.discourse.org/t/tracked-variable-not-found/370793 "2025-06-19T05:06:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [June 19, 2025, 6:02am UTC](https://meta.discourse.org/t/tracked-variable-not-found/370793/2 "2025-06-19T06:02:42Z")

</div>

You don’t need to track these. They will be constant so unnecessary. You only need to track things that will be dynamic and with which you want to re-fire getters.

Use DIcon instead. eg `{{icon this.myIcon}}`

eg:

> <https://github.com/merefield/discourse-chatbot/blob/8a06667fe5b9cf6db7ac9c52cc5fa1bf2c845948/assets/javascripts/discourse/components/chatbot-launch.gjs#L9>

---

_[View the full topic](https://meta.discourse.org/t/tracked-variable-not-found/370793)._
