TanStackT
TanStack7mo ago
2 replies
worthy-azure

Subscribe to a query whose key contains a specific string?

Is there a way to subscribe to a query whose query key starts with a specific prefix?

For instance, if one component triggers a query with the key ['users', 'filter', 'ranked', 's'], can another component subscribe to it using only ['users'], without knowing the full key?
Was this page helpful?