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 [@tanstack/query/prefer-query-object-syntax](https://tanstack.com/query/latest/docs/react/eslint/prefer-query-object-syntax) rule dose not look `useInfiniteQuery` to a error. ### Your minimal, reproducible example https://codesandbox.io/p/sandbox/old-microservice-g6mfwh?file=%2Fpages%2Findex.js%3A36%2C1-37%2C1 ### Steps to reproduce 1. install @tanstack/eslint-plugin-query 2. configure `@tanstack/query/prefer-query-object-syntax` rule...
…in undefined
## Motivation TypeScript original Omit's 2nd type parameter's type should be string | number | symbol. But Error is occured when we use OmitKeyof with 'safely' for object having number...
Implementing createMutationState for svelte-query
### Describe the bug The skipToken documentation suggests to me that `skipToken` can be used similarly to `enabled`, but `enabled` can actually be reactive, so if something changes there, the...
Fix incorrect types that disallowed that. This is necessary because the initialData function can typically read cache synchronously and need to be able to signal to the query if there...
i ported svelte-4 query to svelte 5 Done: (i have used below myself and they seem to work just fine) - createQuery - createMutation - useQueryClient TODO: - createQueries (i...
This is to allow consumers to use `inject` inside callbacks like `queryFn`, `initialData` etc.
Previously, the `injectMutation` callback ran in injection context only if accessed in the same context as the component initialization (i.e. before the `effect` callback run). By wrapping the effect callback...
### Describe the bug Issue Description: Problem: When utilizing the createInfiniteQuery client to manage infinite queries, there is an issue with updating the query despite the addition of a dependency...