Skip to content
Discussion options

You must be logged in to vote

Does it make sense to create a cache entry if the query starts off disabled? Maybe it should only be created once it's been enabled?

not possible because you could also pass initialData for example, or other settings that should be immediately available for other observers to be picked up.

also, you can indefinitely keep it as disabled and then call refetch to fetch it :)

Am I overthinking this, and should just embrace that this is how the library works?

yes, it's not necessary to avoid creating these. I've added the disabled label to the devtools to flag these as, well, disabled :)

Replies: 1 comment 1 reply

Comment options

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

Answer selected by cgatian
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