-
Is there a way to invalidate all useCan queries? From turning from fresh to stale >
invalidate({
invalidates: ['all'],
dataProviderName: 'useCan'
}) |
Beta Was this translation helpful? Give feedback.
Answered by
vinclou
Dec 7, 2022
Replies: 1 comment 1 reply
-
I actually had a React state sync problem and was able to solve it without invalidating useCan queries; Although it would be interesting to hear if that's even possible =) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
vinclou
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I actually had a React state sync problem and was able to solve it without invalidating useCan queries; Although it would be interesting to hear if that's even possible =)