# Guidance re: triggering tasks from component args

**URL:** <https://discuss.emberjs.com/t/guidance-re-triggering-tasks-from-component-args/18052>\
**Category:** Uncategorized\
**Created:** [July 16, 2020, 3:28pm UTC](https://discuss.emberjs.com/t/guidance-re-triggering-tasks-from-component-args/18052 "2020-07-16T15:28:30Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![corrspt](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/corrspt/32/11587_2.png) [@corrspt](https://discuss.emberjs.com/u/corrspt)\
**Post date:** [May 19, 2021, 10:24am UTC](https://discuss.emberjs.com/t/guidance-re-triggering-tasks-from-component-args/18052/8 "2021-05-19T10:24:20Z")

</div>

Hi @chriskrychoI saw this topic and the [how to force a re-render glimmer component](https://discuss.emberjs.com/t/how-to-force-re-render-a-glimmer-component/18150/2) and it fit my problem exactly, so I tried to use the async-data-loader (both the version on your blog and the one in the github gist).

I’m using Ember 3.15/Ember Data 3.12 and EmberCLI 3.15

I’ve been having a problem, though… my code enters an infinite cycle, the `getter` is continually invoked (from the template, I assume, the stack trace seems to come from ember internals) and since it runs an ajax query (`store.query`) it basically is always making a request.

The template only has

```auto
{{#if this.welds.isLoaded}}

```

and the getter is (this is in a glimmer component)

```auto
get welds() {
   let query = // code to calculate the query
   return load(this.store.query('project-weld', query));
}

```

Any ideas? Thanks a lot

---

_[View the full topic](https://discuss.emberjs.com/t/guidance-re-triggering-tasks-from-component-args/18052)._
