-
Hello! Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 19 replies
-
invalidation is a more "smart" refetching. Refetching will always refetch, even if there are no observers for the query. invalidation will just mark them as stale so that they refetch the next time an observer mounts. For queries with active observers, there is no difference as far as I'm aware. |
Beta Was this translation helpful? Give feedback.
invalidation is a more "smart" refetching. Refetching will always refetch, even if there are no observers for the query. invalidation will just mark them as stale so that they refetch the next time an observer mounts. For queries with active observers, there is no difference as far as I'm aware.