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
Cached & persisted queries (react native)
Suggested pattern for optional props that are required in api request?
Tanstack Query in separate packages
Cached local storage query persist
Server-side prefetching with TanStack Query in Next.js (App Router)
How do you stop this behavior?

Error in development but not in production using Next.js 15
Cannot update a component (`Router`) while rendering a different component (`ClientComponent`). To locate the bad setState() call inside ``ClientComponent`, follow the stack trace as described in https://react.dev/link/setstate-in-render
Cannot update a component (`Router`) while rendering a different component (`ClientComponent`). To locate the bad setState() call inside ``ClientComponent`, follow the stack trace as described in https://react.dev/link/setstate-in-render
SWR pattern within one query
General React-Query Patterns
useQuery select
select correctly ( now ). But am I false to assume that the select is used for data transformation to be directly returned from the query and the modified data is not persisted in cache?
I just noticed since I'm using getQueryData and I was surprised when I was missing a part of the modified data 😉...Is react-query v3 still supported?
Skipping queries with top-level skipToken
useQuery(skipToken).
This would improve ergonomics when working with the queryOptions API. E.g. I'm currently facing this:
```tsx
const customerQuery = useQuery(customer ? getCustomerQueryOptions({ id: customer.id }) : skipToken);...Loading pattern I want for my useQuery hook
Conditional queryOptions
const { data: departmentsData } = useQuery(someCondition ? departmentsFactory.innovationManagerList() : departmentsFactory.departmentLeaderList())
const { data: departmentsData } = useQuery(someCondition ? departmentsFactory.innovationManagerList() : departmentsFactory.departmentLeaderList())
someCondition and only use either one it works, but once it is a conditional it breaks. Any workaround?...Type error when using `keepPreviousData()` with `useInfiniteQuery`
synchronous state with query? is this ok?
useEffect(() => ..., []) and setting the value with useState in there...laggy UI when using optimistic update
should I use useRef when using tanstack query in my stack layout file?

I have observed that my refetchInterval is not working on a component page but works on my hooks.

streamedQuery