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
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?
V5: Only previous pages infinite query (chat like infinite scroll)
Vue Query not refetching when key changes?
Data keys sorted?
Best approach when there is no matching query endpoint to a mutation endpoint
Sveltekit - $mutation.isSuccess stays true indefinitely after submit
isSuccess will stay true indefinitely after a createMutation call regardless of whether I invalidate in onSuccess or onSettled callbacks.
The isPending works, but I feel like it goes false before the queries are invalidated. (I could be wrong though)
It might not make a difference at all, but I was just wondering if I need to do something in my createMutation call to trigger the isSuccess parameter?
Thanks in advance for any help you can provide....Is there a way to avoid union type with undefined for data that is returned by useQuery?
queryFn or provide a generic type to useQuery, data will always be T | undefined.
From the docs, I read that the value of data defaults to undefined, but I did not really understand what that means. Does it mean exactly what I am asking lol? That there will always be union with undefined?...Nothing happening with query
ReactQuery v3 to v5 InfiniteData not re-rendering after setQueryData

My buttons lose focus when my `isLoading` state changes
react-query for the first time. Perhaps this isn't an issue of react-query at all, but I can't imagine what else it might be either. I have this component:
https://github.com/cssinate/sortable-table/blob/main/src/components/SortableTable/SortableTable.tsx
You can see from https://github.com/cssinate/sortable-table/blob/main/src/App.tsx that isSearching is just isLoading coming from react-query....Storing class instance in cache
value object pattern, implementation is done through class, is there any risk when storing class instance in react-query cache? I tested it and works fine but still want to double check with you.Unnecessary requests being made

Query Prefetch strips off local storage theme
Sharing QueryClient Across Multiple Apps
How to redirect after failed refresh token
react-query along with axios to communicate with my API. This is the interceptor I have built, to refresh the Access Token when it expires:
```js
const BASE_URL = process.env.NEXT_PUBLIC_BACKEND_URL;
...Best Practices for Handling Shopping Cart Data Storage in React with Local Storage and Database.