Closed oliverlj closed 3 years ago
Change
@action
fetchCryptos() {
this.task = useTask(this, this.testTask as unknown as TaskIsh);
}
To
task = useTask(this, this.testTask as unknown as TaskIsh);
useTask and all the resources work best as whole properties, rather that created and invoked manually.
They invoke themselves automatically upon access.
component
First stacktrace call
Second strak trace call