mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 18:17:41 +08:00

TrackedObject allows us to reference SiteSettings in autotracking contexts (e.g. JS getters referenced from a Glimmer template) without the need for EmberObject's `get()` function. TrackedObject is backwards-compatible with Ember's legacy reactivity model, so it can be referenced in things like computed properties. Co-authored-by: David Taylor <david@taylorhq.com>