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
"Lazy Query" dependent on an event occurrence - best approach?
Why is my query refetching when using the same query key?
Potential Bug: RefetchIntervall callback fn is called even when the useQuery enabled = false

svelte-query re-rendering page on preload
/1
that has a link to a sub page /1/foo/a
. Both pages prefetch the same query as part of the load
function.
When viewing the /1
page you can trigger preload of the sub page by hovering/mousedown on the link depending on svelte config. This triggers the prefetch of the query if it is stale, which then triggers a re-render of the page you are viewing, which means that you scroll to the top, which is totally confusing....Invalidation triggers re-fetch but not re-render of content
confusing return type of `select`
select
, I encounter type errors because the return type is identical. I am confused about why we must return the data shape if there's no need for using select
!
```ts
/**
* This option can be used to transform or select a part of the data returned by the query function.
*/...Difference isPending and the isLoading(isFetching && isPending ) in react-query @v5
calendar negative pages?
Is it a bad design to use Suspense and SSR together?
Strange useInfiniteQuery behavior

useMutation's `isPending` stays on `undefined` after calling mutate
Why doesn't cache invalidation work during mutation?
` const { data: data2, fetchNextPage, refetch,...
Save modified response in query cache (React Query v3)
How to abort a useMutation ?
is a promise returned from onError callback on a mutation awaited?
Only query when value is not null?
When to use `useQuery` vs `useSuspenseQuery` with NextJS?
useQuery
and useSuspenseQuery
hooks, but other than the fact that the status
is always success and there's no error obbject in the suspense version of the hook, I don't understand the main differences between the two.
Can anyone explain to me:
- Where and When do I want to use the suspense version of the hook?...UseQueryOptions without providing a required `queryKey`
queryKey
? im upgrading to v5 and in v4 this was never required. I am using a custom hook with react query
```js
export const useCustomHook = (id: string, options?: UseQueryOptions<Group>) => {
const { profile } = useAuth();...Why is this causing an infinite render loop?