Replies: 1 comment
-
|
select isn’t asynchronous. If you want async transformation, you have to do it in the queryFn. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm making some experiments where the
datais asynchronous, so, how can I define theselectmethodasync?Here's the use case I'm trying to implement:
selectproperty can't be async due to data will return a promiseIs it viable to add support for something like a new
asyncSelectmethod?Without thinking in handling the
data promiseon a different function or hook, can it be done usinguseQuerydefinition or globalselectquery options?ps: this is a similar way of getting this, but with
queryFnThanks a lot! 🙌🏽
Beta Was this translation helpful? Give feedback.
All reactions