react-query-questions

1866 threads · Page 19 of 38

Any guidance / examples on react-query + handling live websocket events? 19 messages
Framework independent usage 2 messages
useMutation invalidateQueries does not trigger either on onSuccess or onSettled 14 messages
queryFn won't refetch with new state (it sort of does but not the way i expected) 5 messages
useQuery typescript
Query refetches when page is refreshed even if refetchOnMount is false. 4 messages
useQuery typescript
I have no idea why this is show as error in V5 2 messages
How to invalidate a query key for all opened pages? 3 messages
How does React Query trigger a render? 3 messages
useMutation onSuccess trying to add new row of data to UI, not working 20 messages
QueryObserver with partial key 7 messages
Mocking react query data for react-testing-library 2 messages
useQuery
optimistic update with pagination 16 messages
useMutation
firebase firestore subscription example? 2 messages
refetchOnWindowFocus not working on in 5.17.15 ? 3 messages
useQuery typescript
Problem with Optimistic Updates 2 messages
useMutation typescript
✅invalidation issue 7 messages
Getters 6 messages
useQuery
Query reloads 2 messages
Avoid refetch on initial load 8 messages
Accessing react query without hooks 7 messages
Bi-direction infinite scroll table with maxPages - uncontrolled scroll 5 messages
useQuery
onSettled throws annot update a component (`HotReload`) while rendering a different component 6 messages
SSR typescript useMutation useQuery
Can we change staleTime and cacheTime via props or state change after query is mounted? 3 messages
useQuery
Since v5 deprecated onSucces and onError callbacks is okay to implement a custom hook like this ? 3 messages
React Query not respecting initialData when there is cache 21 messages
SSR useQuery
Safely setting store state based on query data/status 5 messages
useQuery
Same queryFn for multiple useQuery calls? 8 messages
Understanding frequent network calls 15 messages
Why this code doesnt work? 2 messages
Component not re-rendering on removeQueries() 71 messages
useQuery
Best practice for dealing with mutation function that doesn't error 4 messages
useMutation
Why do PATCH and DELETE requests not refetch the data from the database? 12 messages
Need help to find out why my query is not marked as stale 4 messages
useQuery useMutation
Using react-query with Axios and intercepting requests and responses 2 messages
Handling Error 4 messages
queryClient type issue? 4 messages
Refresh Infinite Query on Interval 4 messages
Handling HTTP errors using Fetch with useQuery 6 messages
Store non-sequential page with Infinite Query 6 messages
Fetch during server side render 9 messages
SSR useQuery
TS error: 7 messages
Solid-query - query.isPending causing Type Error 3 messages
Subscribe to a query without useQuery 10 messages
useQuery
re-route and fetch new data via refetchQueries 10 messages
Recommendation on storing list data as is and by id with one server side response 9 messages
Only throw error if there is no data in the cache 3 messages
Is a query not supposed to be generated upon page refresh? 27 messages
Access Mutation Data 6 messages
useMutation typescript
infinite scroll network 200 but undefined 9 messages
onSuccess migration: what to do for this use case? 5 messages