Skip to content

Is there a way to schedule a new refetch without cancelling an existing refetch? #8035

Answered by TkDodo
gaborcs asked this question in Q&A
Discussion options

You must be logged in to vote

Canceling the refetch that is already in progress leads to dropping optimistic updates that are applied via the UI, because the mutation will not be in a pending state anymore even though the refetch hasn't completed yet.

I guess you are talking about optimistic updates that are done by rendering variables in the UI? Because cache-based optimistic updates wouldn't be affected here.

Replies: 1 comment 3 replies

Comment options

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

@TkDodo
Comment options

@gaborcs
Comment options

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