DEV Community

Discussion on: 📚 RTK Query: Understanding useQuery Hook

Collapse
 
batuhan3428 profile image
batu-han3428

After performing a mutation operation in one tab, how can I automatically run the query in the other tab? I used "invalidatesTags" but it didn't work. If I'm on the same tab, "invalidatesTags" works. but it doesn't work in different tabs.