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.
This PR: - Fixes the types of `injectQueries` - Add type tests for `injectQueries` - Adds initial tests for `injectQueries` runtime - Fixes runtime behavior of `injectQueries` # TODO: -...
This implements a pause provider according to proposal in https://github.com/TanStack/query/discussions/8574 which functions similar to `subscribed` prop, but to a whole tree and without redundant re-renders. Not decided on the correct...
### Describe the bug When using custom hooks for a query function, the `no-rest-destructuring` does not report. ### Steps to reproduce ```tsx // Custom hook for query const useTodos =...
### Describe the bug [Per the docs](https://tanstack.com/query/latest/docs/reference/QueryClient#queryclientinvalidatequeries), the default behavior of `invalidateQueries` should be that if a query gets invalidated while it's being fetched, then the queryFn should be called...
### Describe the bug When I use reconcile in my solid-query, it gets called multiple times on every request. My reproducible example has 2 reconciles on every function call, but...
### Describe the bug When the query of a deferred component rejects, it falls into an infinite render loop. This is consistent and I have written a test case. I...
### Describe the bug I am creating this issue based on the discussion [here](https://github.com/TanStack/query/discussions/7385#discussioncomment-11372314). When using `refetchIntervalInBackground` with `retry`, the retry mechanism fails to execute if the browser tab is...
### Describe the bug I am using the new mechanism to suspend explained here: https://tanstack.com/query/latest/docs/framework/react/guides/suspense#using-usequerypromise-and-reactuse-experimental Disabled queries return a pending promise (which is ok), but the promise does not resolve...