queryCache.invalidateQueries() does not refetch ? #135
Unanswered
liorchamla
asked this question in
Questions
Replies: 1 comment 1 reply
-
Yes, it should refetch. If you can't provide a repro, a failing test case would also work! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First : I'm sorry I can't give you all a reproduction environment. My question is very simple :
() => ["users", route.params.page]
;queryCache.invalidateQueries({ key: ["users"] })
Expected behavior
When I go back to the list, I expect my list to refetch because the cache is no longer valid
Real behavior
The list still shows me the old data and does not refetch what so ever
Is there something I'm missing ?
Beta Was this translation helpful? Give feedback.
All reactions