query icon indicating copy to clipboard operation
query copied to clipboard

πŸ€– Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

Results 493 query issues
Sort by recently updated
recently updated
newest added

### Describe the bug There seems to be a discrepancy between the return type of `queryOptions` in vue query and react query adapters. ```ts const options = queryOptions({ queryKey: ['groups'],...

good first issue
types
package: vue-query

# Disclaimer I needed the same features and noticed that PR #5983 was closed without explanation. I assumed it might have been automatically closed due to the deletion of the...

package: vue-query
package: query-core

Resolve #7694 Originally, when we called `queryClient.invalidateQueries` from `@tanstack/vue-query`, it would trigger `invalidateQueries` from `@tanstack/query-core` in the next macro task. This was initially intended to fix issue #6414, but it...

package: vue-query

### Describe the bug The documents indicate you can pass queryClient in the options passed to useMutation, but using 5.52.1, the typescript does not recognize that option. https://tanstack.com/query/latest/docs/framework/react/reference/useMutation In the...

### Describe the bug Since v5.48.0 and the changes in #7566 the `enabled` property for TanStack Query in general does accept a callback function, which provides the the query as...

package: vue-query

### Describe the bug The behavior for `queryClient` using server-side rendering is different and works incorrectly in Nuxt2/Vue2. On Nuxt3/Vue3 the expected behavior occurs. In Nuxt 3, the `queryCache` is...

package: vue-query

### Describe the bug The Vue implementation of `QueryClient.invalidateQueries` does not invalidate queries "immediately", as described in the documentation. ### Your minimal, reproducible example [https://codesandbox.io/p/devbox/vue-query-query-invalidation-w2kn9y](https://codesandbox.io/p/devbox/vue-query-query-invalidation-w2kn9y?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clydflqfi00083b6j8cz4qy8q%2522%252C%2522sizes%2522%253A%255B70%252C30%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clydflqfi00023b6jnujonv5x%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clydflqfi00053b6jc1kxkpil%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clydflqfi00073b6jtwhqs6li%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clydflqfi00023b6jnujonv5x%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clydflqfi00013b6jja45n946%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252FREADME.md%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%252C%2522id%2522%253A%2522clydflqfi00023b6jnujonv5x%2522%252C%2522activeTabId%2522%253A%2522clydflqfi00013b6jja45n946%2522%257D%252C%2522clydflqfi00073b6jtwhqs6li%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clydflqfi00063b6j4i4pbhcc%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522pnpm%2520run%2520dev%2522%252C%2522port%2522%253A5173%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522id%2522%253A%2522clydflqfi00073b6jtwhqs6li%2522%252C%2522activeTabId%2522%253A%2522clydflqfi00063b6j4i4pbhcc%2522%257D%252C%2522clydflqfi00053b6jc1kxkpil%2522%253A%257B%2522id%2522%253A%2522clydflqfi00053b6jc1kxkpil%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clydflqfi00033b6jlo2u5v4d%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522pnpm%2520run%2520dev%2522%257D%255D%252C%2522activeTabId%2522%253A%2522clydflqfi00033b6jlo2u5v4d%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Atrue%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D) ### Steps to reproduce Run...

package: vue-query

This is just a draft PR to follow up on the discussion I started a while ago here: https://github.com/TanStack/query/discussions/6390

Use `shallowReactive` and `shallowReadonly` instead of `reactive` and `readonly` [`reactive`](https://vuejs.org/api/reactivity-core.html#reactive) and [`readonly`](https://vuejs.org/api/reactivity-core.html#reactive) uses deep conversion which affects all nested properties. Therefore, performance slows when the data is a large array...

package: vue-query

### Describe the bug I'm encountering an issue where React Query’s revalidation process does not integrate smoothly with service workers using the StaleWhileRevalidate strategy. The problem arises when I perform...