Skip to content

Is passing an arrow or anonymous function as query function discouraged? #253

Answered by cherniavskii
goncy asked this question in General
Discussion options

You must be logged in to vote

Yes, you can pass anonymous functions as queryFn, there's nothing wrong with that

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tannerlinsley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants