Is it possible to await for refetches from invalidateQueries
?
#4521
-
The docs for If not, does that mean it's recommended to call |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
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.
no, that's not necessary. |
Beta Was this translation helpful? Give feedback.
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.
no, that's not necessary.