Skip to content

Question about enabled: false #7855

Closed Answered by TkDodo
csantos-nydig asked this question in Q&A
Discussion options

You must be logged in to vote

or at least not execute the select method

sorry, that's just not how it works. It also seems to be an "optimization" that isn't necessary. There is nothing to optimize here. Just remove the enabled and you're fine 🤷

Btw: enabled doesn't exist on useSuspenseQuery.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@TkDodo
Comment options

@csantos-nydig
Comment options

@csantos-nydig
Comment options

@TkDodo
Comment options

Answer selected by csantos-nydig
Comment options

You must be logged in to vote
2 replies
@TkDodo
Comment options

@kristian-nst
Comment options

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