Skip to content

Getting access to state inside of queryFn #2217

Answered by phryneas
MightyMoud asked this question in Q&A
Discussion options

You must be logged in to vote

What are you actually trying to do? I'm quite sure you have a XY Problem here - you found out queryFn exists and now you're building a lot of logic in there - but from what you are writing here I am not sure if you are even using the right tool.

So:
Can you please explain what your actual goal is, not what you need after applying some different approaches to your initial goal already?

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@MightyMoud
Comment options

@phryneas
Comment options

@MightyMoud
Comment options

Answer selected by MightyMoud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants