react-query-questions
solid-query-questions
table-questions
virtual-questions
router-questions
react-charts-questions
ranger-questions
vue-query-questions
svelte-query-questions
bling-questions
form-questions
angular-query-questions
start-questions
db-questions
start-showcase
router-showcase
📣-announcements
Mutation not changing `isPending` back
basepath issue

Automatic Query Invalidation
meta option approach, but in some case I need to access to the payload I pass to the mutation to invalidate a specific queryKey. How can I combine it with the meta option approach?Double toasts on error
Suspense, HydrationBoundary and Streaming - Examples from Docs

mutationOptions with queryClient variables type inferrence
variables properly in onMutate, while when i make a wrapper without the queryClient it can:
```ts
import type { DefaultError, QueryClient, UseMutationOptions } from "@tanstack/react-query";
import { useQueryClient } from "@tanstack/react-query";...Client invalidateQueries not triggering refetch for server-side prefetched data
getQueryClient and hydrated with HydrateClient:
```ts
import { getQueryClient, HydrateClient, trpc } from '@/trpc/server';...isFetching, isLoading, isPending, isError... how to best structure component? (esp. w/ TS)
status. I'm a bit confused which ones to use especially in TS where I want data to be defined (and not <data> | undefined) and handle all states around the async request ("loading", "error", "date").
This is the pattern that makes most sense to me:
```
function MyComponent() {...No QueryClient set, use QueryClientProvider to set one
Keeping data up-to-date with cross user shared data
Optimistic Update not working on another route.
/vote/$senatorId I have a mutation
```ts
const { mutateAsync } = useMutation(
trpc.vote.addVote.mutationOptions({
onMutate: async ({ sway }) => {...How to access individual customer by ID after a search with TanStack Query?
Refetch on changing persister buster
Disable Optimistic Update
Prefetching previous pageParams for a useInfiniteQuery?
useInfiniteQuery - how would I do this? Basically the useInfiniteQuery hook will fetch the current token, but it wont have the previous cursors and data in cache yet, I simply want to supply the previous tokens so it can populate pageParams and data from the fetch.Invalid Node AST error tanstack query with graphql codegen
Next.js useSuspenseQuery error
useSuspenseQuery
In the queryFn I called server actiono directly (exported function from "use server"),
but that throws an error saying...useQueries combine - combining query results
setDefaultOptions -> refetchQueries race condition?
meta option that my queryFns will recognize and do a fetch(..., {cache: "reload"}) HTTP request.
I came up with this:
```typescript...How to silence missing queryFn warnings?
setQueryData() or <HydrationBoundary>, and consumed with useQuery as normal. staleTime is set to Infinity so no data fetching occurs.
My understanding is that this is a common use case for react-query. However after a recent update https://github.com/TanStack/query/pull/8701 I get tons of warnings about missing queryFn.
Is there a way to silence the warnings?...