Skip to content
Discussion options

You must be logged in to vote

The query should show up as disabled in the devtools. There is no way to avoid that, because the query has been created, even if it's disabled. You could pre-fill it with initialData, and you can trigger a fetch with refetch returned from useQuery even if the query is disabled. Does the cache entry bother you?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mossen
Comment options

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