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
Persisting mutations for offline
How matchQuery work ?
onSuccess, onError, onSettled all calling after mutation...
Refreshing Data After Deleting with useQuery Cache
Schedule an invalidation of a query
Pattern for mutations that trigger queries and further mutations
Webpack issue upgrading React Query from v4 to v5
@tanstack/react-query
and @tanstack/react-query-devtools
, Webpack (v4) fails to build my application.
```
frontend-1 | ERROR in ../node_modules/@tanstack/query-devtools/build/index.js 5:2
frontend-1 | Module parse failed: Unexpected character '#' (5:2)...How to work with prefetch query in NextJS app router?
What is the basic response model required by useInfiniteQuery
How to update component B when the useQuery within component A finishes successfully?
useQuery
, on successful completion I would like this data to also show up inside component B. Note that component B is not a child or sibling component, it live in another place, being show in a sidebar. I am not sure how I should do this.
In the past the onSuccess callback could be used to maybe persist in a state manager and share the data in such a way. I could do the same using a useEffect but I just want to check before I act 😉 Thx in advance.
It's important for component B to change whenever the data changes....Using typescript - How do I set a custom type for useMutation?

Best way to catch/handle errors during streaming
A query that was dehydrated as pending ended up rejecting.
but I am unable to try/catch it and unsure of the best way to handle these errors.
snippet/example of what I am doing:
```ts
......How can I call an unknown amount of useMutations or set MutationKey in mutateFn?
mutationKey
for each item so I track the loading status in another component. Correct me if I'm wrong, after reading the docs and some research.
- there is no useMutations
like useQueries
which would allow me to create the useMutationObject and pass in the key for each useMutationObject
- I cannot set the mutationKey
in themutationFn
Thank You! Unfortunately im on v4 for now ...getQueryData returning undefined unless exact key match
Needs to clear cache in dev (stuck fetching), but works in prod

useQueries and memoization
Pages is undefined when I enter the page through a link, <Link> tag or react-router-dom's navigate()
How can I access to an invalidated query
useQueries & queryOptions typing issue