Replies: 1 comment 1 reply
-
Hi @keturn! Glad to hear you're liking it so far. The short answer on why There are two possible ways to accomplish what you want to do:
The way you can distinguish the difference between the two is as follows:
Since Some jsfiddle examples:
Lastly, you can also do this pipeline if desired: |
Beta Was this translation helpful? Give feedback.
-
Hi, I've been experimenting with Cami, and it's going pretty well so far.
I started using
query
to fetch a resource, and I'm trying to separate some functionality that happens in response to that.One component displays the resource as-is. That's working fine.
I want to be able to have a second object that, when it notices that
Foo
resource is available, processes it to come up with a newFoobar
.It feels like this should be basically
but there's some nuance that I'm missing. That callback seems to only be getting the new value in its
pending
status, not when it is finished with the data.Beta Was this translation helpful? Give feedback.
All reactions