You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two queries rendered, the first fetch all items, and the second fetch filtered ones.
You can see two buttons with invalidation hooks. The first one invalidates both queries, the second one invalidates only non-filtered results. See the console for refetch logs.
Expected behavior
I expect both keys should invalidate the same records no matter of filter: undefined as mentioned in react-query docs.