Is passing an arrow or anonymous function as query function discouraged? #253
-
When you have a function coming from an sdk or something similar you don't always can send parameters in order and I didn't see anything about it in the docs |
Beta Was this translation helpful? Give feedback.
Answered by
cherniavskii
Mar 17, 2020
Replies: 1 comment
-
Yes, you can pass anonymous functions as queryFn, there's nothing wrong with that |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tannerlinsley
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you can pass anonymous functions as queryFn, there's nothing wrong with that