Repeat after me:
馃摑Invalidation does not remove cached data
Generally, @tan_stack React Query only ever removes data from your cache for garbage collection, or if you manually remove it (with removeQueries). Invalidation just marks it as stale so that we can refetch it.
12
23
351
24,882
Yes, refetch means the queryFn runs again.
Oct 31, 2024 路 6:58 PM UTC
1
4
861


