Skip to content

Preventing concurrent queries in v4 #5957

Answered by TkDodo
baymac asked this question in General
Discussion options

You must be logged in to vote

with the default staleTime of zero, every mount of a new observer will trigger a background refetch. Customize staleTime to reduce the amount of background refetches.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@baymac
Comment options

@baymac
Comment options

@TkDodo
Comment options

Answer selected by baymac
@baymac
Comment options

@TkDodo
Comment options

@baymac
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants