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.
The example is currently broken. The random error on POST does not return and so items are always accepted.
### Describe the bug Indexing a query factory with a union type (`UserType = "company" | "club" | "player" | "supporter"`) causes TypeScript type mismatches in useQuery, ensureQueryData, getQueryData, and...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [next](https://nextjs.org) ([source](https://redirect.github.com/vercel/next.js)) | [`14.2.28` -> `14.2.30`](https://renovatebot.com/diffs/npm/next/14.2.28/14.2.30) | [](https://docs.renovatebot.com/merge-confidence/) |...
Resolve #7905 This PR updates the type definition of the `enabled` option in `useQuery`. The motivation can be found here: https://github.com/TanStack/query/issues/7905#issuecomment-2971140693 If there is anything I might have overlooked, please...
# Overview This PR resolves an issue that was brought up in discord where using `queryOptions` where TQueryFnData was `{ name: string }`, would cause the type of TData on...
This PR introduces a shared `ShallowOption` type to unify the `shallow?: boolean` option and its JSDoc across various composables in `@tanstack/vue-query`. If there is anything I might have missed, please...
### Describe the bug When using useInfiniteQuery , setting enabled: false still triggers the API call, which is unexpected behaviour. ### Steps to reproduce Call an API using useInfiniteQuery and...
### Describe the bug Although #9053 claims this issue was resolved, I believe it remains unresolved. The mentioned PR #9042 in this issue is only a solution for TS resolve...