T
TanStack2y ago
rising-crimson

invalidate without using hook

Hello this is related to the question at https://discord.com/channels/719702312431386674/1208254624327278712 I am having issue invalidating my queries from tanstack table columndefs. I am wondering if there is a way to invalidate queries without using hooks?
1 Reply
fair-rose
fair-rose2y ago
It is not recommended but just import the queryClient

Did you find this page helpful?