react-query-questions
"a vast majority of users do not actually need a normalized cache" ... "check with us first"
useQuery
Clarity about keys and refetching
useQuery
empty data on refetch error
useQuery
typescript
useQuery with different queryKey
React Query fetches data even if staleTime is set to Infinity
useQuery
How to implement a callback/action when the query is successful?
Initial data is applied when the query key is changed
How do you provide a default select function and keep TypeScript happy?
Migrated from v4 to v5, don't know how to use it without onSucess
onSuccess analogue in queries?
useQuery
seeding-the-query-cache
useMutation Hook triggers rerender of component when a non-related subscription receives new data
useMutation
typescript
setState
prefetchQuery has old data on page refresh
Dynamically prefix all queryKeys
Does `ensureQueryData` support passing a signal?
Mutations
useMutation
typescript
HMR/Vite hot code reload clears entire cache
useQuery
useMutation
typescript
Does ReactDom's flushSync works with setQueryData in same way as it works with setState()?
What if I need to pass custom information to my query function?
useQuery
Is there a chance to reload part of a query only?
How to handle nested objects without re-render the whole app?
query cache performance
structuralSharing=true should return same object on unchanged data even if queryKey changes
Serialize dates with SSR / react-query
Strongly typing useQueries
useQuery
typescript
queryclient
useQuery
multiple filters, infinite scroll and a search input
typescript
How to trigger query in one component and view it in another?
Typescript and conditional select
Trigger useQueries fnc in onSuccess of other func, but queryOptions fnc has diff queryKey
can use only 2 args on useQuery()
How to know if a state has changed from another component using useEffect
How to get cache update in another component when data has been updated somewhere else?
Are errors cached in react-query?
invalidateQueries
Why no TS useQuery type?
useQuery
typescript
Does react-query conflict with server components in Next.js?
SSR
Default Mutation Function best practices and Typescript
Remix hydration errors
Possible bug (DOM update)
useMutation - updating a single entry in onMutate
useQueries response returning the same for both queries
useQuery
Mutate send response
useMutation
typescript
How to run dynamic Query in Tanstack Query?
useQuery
mutationOptions helper
useMutation
typescript
Typing mutate() variables when using setMutationDefault
useMutation
typescript
refreshing access token manually in axios
useQuery
useMutation
Is there a way to monitor queries from a parent component?
What is the best way to prevent a function running after its fetched and not loaded.