Skip to content
Discussion options

You must be logged in to vote

Does that mean that when the promise resolves it's not guaranteed that the refetches are finished?

no, that's not what it means. If you choose to await the promise, the refetches are finished after that.

"background" means that we will not put the data into a hard loading state, but stale data will continue to be shown.

If not, does that mean it's recommended to call invalidateQueries with refetchActive and refetchInactive set to false, then call refetchQueries directly after so you know when refetching is finished?

no, that's not necessary.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@trevordunn
Comment options

@TkDodo
Comment options

@trevordunn
Comment options

@TkDodo
Comment options

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