1,861 questions
-1 votes
0 answers
16 views
React Query data update works in dev but not in production (Expo Router, minified build)
I have a React Native app using Expo Router and React Query. I fetch a list of items using useQuery and display them in a FlatList. I also have a mutation using useMutation to add a new item. In ...
0 votes
2 answers
88 views
React Query Server Side Rendering
I have been using react query and next.js , I need to know how can achieve server side rendering using react query, I can achieve with this using normal fetch or axios in the server side components, ...
0 votes
1 answer
88 views
How can I have a delay until useQuery/refetch have returned the data
I am developping an iOs/Android App with React Narive. I am using useQuery (TanStack Query v5) to send the username and an hashed password to my database and it return the user ID if the email/...
0 votes
1 answer
170 views
Can Tanstack/React Query handle dynamic parallel queries that are computed based on earlier queries?
I see that Tanstack Query supports parallel queries in a certain way that is dynamic, per this page: https://tanstack.com/query/latest/docs/framework/react/guides/parallel-queries#:~:text=each%...
0 votes
0 answers
73 views
How to refetch react openAI react query queries
I am working on a react native app that is using openapi-react-query in order to enforce the type safety across backend and mobile, my struggle is how to refetch queries (in a component other than the ...
0 votes
1 answer
139 views
RefetchInterval, and QueryKey Changing, will this cause two network requests?
Really need some help understanding the nuances and effects of how refetchInterval, and queryKeys interact with each other. Currently, I have a UI that is stuck on loading state. I suspect it is ...
0 votes
2 answers
52 views
How to make react-query wait till input data used in request is resolved with other API call?
I am using tanstack-query and have dependent queries to do: const { resourceId } = useGetResourceId(); // resourceId: number | null const { data, loading, error } = useGetResourceData(resourceId); ...
0 votes
1 answer
73 views
React-query isRefetching is triger loader in RefreshControl at first mount screen
In my react-native project, I use tanstack react-query: https://tanstack.com/query/latest/docs/framework/solid/reference/useQuery#isrefetching-boolean Why is isRefetching executed if I don't call ...