Open ElisePatrikainen opened 2 months ago
It could be interesting to have a way to filter queries when we look for some specific queries in the cache (a usecase could be the useQueriesState composable, cf https://github.com/posva/pinia-colada/issues/23).
useQueriesState
For example, here is the query filter provided by TanStack Query : https://tanstack.com/query/latest/docs/framework/react/guides/filters#query-filters
Yes, this would be nice and needed for retrieving some shared state
It could be interesting to have a way to filter queries when we look for some specific queries in the cache (a usecase could be the
useQueriesState
composable, cf https://github.com/posva/pinia-colada/issues/23).For example, here is the query filter provided by TanStack Query : https://tanstack.com/query/latest/docs/framework/react/guides/filters#query-filters