query
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.
### Describe the bug With a fresh Vue3 installation with `@tanstack/vue-query` installed - VSCode produces typescript errors, as seen in the screenshot. It's not clear to me if this is...
### Describe the bug When we use Nuxt3 with vue-query, we will write code like this: ```ts import { useQuery } from '@tanstack/vue-query'; import { onServerPrefetch } from 'vue'; const...
### Describe the bug ```ts const pollingTasks = new Map(); function Example() { const { data } = useSuspenseQuery({ queryKey: ['repoData'], queryFn: () => { return axios .get('https://api.github.com/repos/tannerlinsley/react-query') .then((res) =>...
### Describe the bug It looks like [delayFunc](https://github.com/TanStack/query/blob/f4822a739a1e93550b45169ab47058f1d669a265/packages/query-async-storage-persister/src/asyncThrottle.ts#L37) in the `packages/query-async-storage-persister/src/asyncThrottle.ts` has some performance problem. ```js const delayFunc = async () => { clearTimeout(timeout) timeout = setTimeout(() => { if...
### Describe the bug In a Vite project, when using both "@tanstack/vue-query": "^5.17.0" and "vite-plugin-vue-devtools": "^7.0.3" simultaneously, there may be an error upon starting the project. This results in my...
### Describe the bug I am using vue-query in SSR with suspense. I expected fetch errors to be serialized into `error` as described in https://tanstack.com/query/v5/docs/vue/guides/query-functions#handling-and-throwing-errors. Instead, a fetch error causes...
### Describe the bug I'm using the new `experimental_createPersister` like this: ```ts import { experimental_createPersister, type AsyncStorage } from "@tanstack/query-persist-client-core"; import { get, set, del, createStore, type UseStore } from...
### Describe the bug The `isRefetching` signal on the query stays on `true` even when the query finishes refetching. This issue happens when a disabled query is enabled and immediately...
### Describe the bug pageParam used to be available in the default queryFn parameter options. It is still passed (it is working correctly with //@ts-ignore), but typescript is reporting the...
### Describe the bug When `useQueries` is used with an empty array `[]` for `queries`, the `combine` function will return a new instance each time the component carrying the hook...