mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
23b02a3824
Same as `@tracked`, but skips notifying consumers if the value is unchanged. This introduces some performance overhead, so should only be used where excessive downstream re-evaluations are a problem. This is loosely based on `@dedupeTracked` in the `tracked-toolbox` package, but without the added complexity of a customizable 'comparator'. Implementing ourselves also avoids the need for pulling in the entire package, which contains some tools which we don't want, or which are now implemented in Ember/Glimmer (e.g. `@cached`). |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |