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 When building a SvelteKit project on the latest version that includes the latest version (6) of Tanstack Query, I get the following warning: ``` "notifyManager" and...
### Describe the bug If you prefetch data on the server and then use ``useQuery`` with ``isLoading`` on the client, it can lead to a hydration error. ### Your minimal,...
## 🎯 Changes Add missing ESLint rules to the left hand side navigation I noticed the new mutation rule didn't appear there, and when checking saw that a previously added...
- fixes: #8984 - related: #9016 --- ## Cause When using `Omit`, a union type is transformed into an object. This causes `BaseQueryNarrowing` to behave unexpectedly and fail to narrow...
- Fixes an infinite loop in `useMutationState` caused by reading and writing to `results` in an effect. - Fixes `useIsMutating` throwing a `reading properties of undefined` error caused by reading...
This PR updates the documentation for the invalidateQueries method in React Query to clarify the default behavior of query invalidation and refetching. -It explains that by default, only active queries...
`queries` argument is not typed consistently in many of the methods in `queriesObserver` class. The constructor typed it to be `Array` but in few other places it's `Array` which means...
I would like to propose a change to the default retry logic. Currently, the retry logic is a static number based on number of retries. This might work for simple...
Serialize query keys the same way `.data` is serialized Should fix https://github.com/trpc/trpc/issues/6802 ## Summary by CodeRabbit - New Features - Query keys are now serialized during dehydrate/hydrate, enabling reliable round-tripping...