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
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.
Custom hooks structure
usePaginateApi
for all my resources which resulted in a mess what usePaginateApi
to import. Now I'm trying something new and was thinking about this example below, what are you thoughts? Any better idea's :-)?
```ts
export const App: FunctionComponent = () => {
const { useFind } = useUsersApi();...Can I use the Loading from app directory for the isLoading State in RQ?
Maximum callstack exceeded when using `prefetchQuery` in NextJS 14
react-query
using axios.
I'm in a NextJS 14 project using the app router and trying to handle SSR for initial load by following the Advanced SSR guide for the NextJS app router.
I have the following code:...Multiple request using useMutation