setQueryData with infinite query
I am using query factory from TkDodo's blog:
After mutating (deleting/editing/adding) a team member I want to update the query data of needed queries. Is there a way to do this, or should I make another key in the factory
[...teamQueries.lists(), workspaceId, "members"]
that catches all these queries and just invalidate them?0 Replies