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 Query keys with object property set to undefined are not considered equal to missing property. Based on the docs, it should be the same: https://react-query.tanstack.com/guides/query-keys#query-keys-are-hashed-deterministically ###...
### Describe the bug I found a bug with `useInfiniteQuery`. If an update is performed to an old page (using `setQueryData`) while a newer page is being fetched, the update...
### Describe the bug I have a login endpoint that on successful login returns the session expiry time. On successful login, I want to set the `staletime` of the login...
Updates the documentation to solve the issue encountered in https://github.com/tannerlinsley/react-query/issues/3461
Hey! Thank you for `react-query`. It makes my job a lot easier. Recently we ran into some confusion about the expected return value from `getQueryData`. The existing return type is...
New example with Algolia as a fetcher.
When using useQueries it personally makes me nervous that you have to rely on the array order to remap the queryKeys. By passing the queryKey back through into the QueryObserverResult,...
I use react-query in Deno: ```tsx import { QueryClient, QueryClientProvider, useQuery } from 'https://esm.sh/react-query'; const queryClient = new QueryClient(); export default function App() { return ( ); } function Example()...
This PR allows invalidating queries in other tabs that don't exist in the current tab cache. The use case that we have is to invalidate the preview of a document...