I encountered a problem while implementing the form where the data used in select, retrieved from the database via react-query, should only be retrieved once wh
const getQueryService = () => { return { login: async (id): Promise<AuthLoginGoogleResponse> => { try { const result = await aut
I am using "react-query" to call an API from a component . For the purpose of this question , I am returning a mock response from the API . Every time , I open
I'm really new to React-Query so I an facing this issue. Here's the scenario. I have a component with a Formik form in it. It has a table with the list of data
I have a requirement to keep fetching data until a condition is met I can set up the fetch on an interval with the snippet below but I can't figure out how to s
I'm trying pagination by useInfiniteQuery in React Query, it's refetch data perfectly, but there's a problem that each time new data added, the page re-render a
I'm running a React Native project where I'm testing custom hooks written with react-query. I'm using Jest, @testing-library/react-hooks and @testing-library/re
I am working on a React JS project. I am using React query, https://react-query.tanstack.com/ to make API requests. I am now having a problem with mutation retr
I am working on a React JS project. In my project, I am using React query, https://react-query.tanstack.com/docs/guides/mutations. I am using mutation to make t