Refetch timing for invalidateQueries #4543
-
The default options are as follows:
For example, if I execute sample codesandbox: Expected behavior:
When I explicitly passed the filters as follows, the refetching works at the same time as invalidate and the cache is updated. I assumed that the default for filters is |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
for
|
Beta Was this translation helpful? Give feedback.
for
invalidateQueries
,type
defaults to'active'
, from the docs: