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
Use react-query with IndexDb with SSR randomly throws window not defined
Getting a promise from useQuery
Interval useQuery in Provider Context
useQueryClient ambiguous behaviour
useSuspenseQuery and isFetching
fallback
, then the fallback component will be rendered until all children have completed their data fetching. In other words, if queries in child components are in a fetching state, then the fallback is rendered instead of the children. When child components have finished fetching, then they are rendered.
That being so, I'm confused about the useSuspenseQuery
example mentioned in the Tanstack docs and in particular the isFetching
status. The component in the Project.jsx
file is defined like so:...Infinit Query avoid useless refetch when part of the list is updated
Unable to cache data with `prefetchQuery` on server + `useQuery` in client
Error loading, too slow and also initialData first 2 times get undefined:
is there any peer dependency for old projects?
Refetch data on error
onError
callback to useQuery
, call my toast method there and pass it a refetch
method to a button onClick callback.
In v5 there is a global onError
callback for QueryCache
instance, but I don't know how can I refetch my query there as I have no access to refetch
method....How do I keep derived data in sync
How to check if useQuery data changed
fetchQuery
Best way to get data inside inner components?
useQuery always refetching
how to define types for querykey?
setQueryData
and I was wondering, is there a way to define the types, so that when I use setQueryData
I would know that im entering correct queryKey.
```
export function useGetWeeklyDiaryNew(
userId: string | undefined | null,..."Lazy Query" dependent on an event occurrence - best approach?
Why is my query refetching when using the same query key?