Invalidating useSuspenseQuery after mutation
Is it possible to invalidate query after mutation while I'm using useSuspenseQuery?
4 Replies
exotic-emerald•2y ago
Yes
other-emeraldOP•2y ago
How :)?
exotic-emerald•2y ago
like a normal query
other-emeraldOP•2y ago
Actually it works 😄 Thank you. I was using wrong query client and using useQueryClient worked