(Copy of the comment I posted on the blog)
This is a nice pattern. thanks for sharing. Since you mentioned react-query, I want to discuss about a parallel thought process here: about extending react-query usage to facilitate ember-concurrency patterns. I am sure you would have encountered such situations on your projects and I am eager to hear your opinions on this one.
I tried to implement a simple keepLatest using useQueries, but it seems like more boilerplate that what is necessary. do we have any other options for this pattern of scheduling a series of Promises ?
I tried to implement a simple keepLatest using useQueries, but it seems like more boilerplate that what is necessary. do we have any other options for this pattern of scheduling a series of Promises ?