Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
40 views

I’m a Vue developer and I use @tanstack/vue-query to fetch data. I have a page with cards wrapped in router-link and infinite scrolling. The problem is when I scroll many times, go to a card (navigate ...
0 votes
0 answers
220 views

I'm using Vue 3 with Pinia Colada to manage server state. I have a useCollections composable that takes a reactive Ref for filtering, sorting, and pagination. The computed query key clearly changes (...
Rasik's user avatar
  • 2,539
0 votes
1 answer
63 views

const queryKey = ref("userData"); const { data, isLoading, error } = useQuery({ queryKey: [queryKey], // Chave única para identificar a consulta queryFn: async () => { ...
0 votes
0 answers
64 views

I use vue and @tanstack/vue-query. it is my code: <a-select v-model="selectedPersonId" @search="handleSearch" @change="selectPerson" show-search ...
bego's user avatar
  • 23
1 vote
0 answers
790 views

I am working with vue-query (but I guess the answer for my question would also be complied with react query) with the call to API, in which I have a button to select between auto-refetch and manual ...
0 votes
1 answer
4k views

I'm having an issue where the scroll position resets on the data table but not on the virtual scroller component. Every time you scroll to the fetchNextPage threshold, it resets the scroll position to ...
0 votes
1 answer
588 views

I have this component in Vue. When I save, the server is returning the updated record. So, I don't need to hit the server with yet another request. However, this is triggering the new get: queryClient....
Merc's user avatar
  • 17.2k
1 vote
1 answer
1k views

I am trying to update a ref object that should trigger the data fetching logic written to return updated data. But this doesn't seem to be working. App.vue <script setup lang="ts"> ...
0 votes
1 answer
203 views

I'm making app in Vue.js 2.6.14. I use vue-query to fetch data from external API. I wanted to pass an argument - this.form.style to the query function, inside setup() but it seems to does not work. ...
5 votes
1 answer
3k views

I'm used to using Pinia/Vuex for dispatching axios requests and storing the data in the store, then using the getters for computational operations on the data. I'm using Vue 3. A simple example: let's ...
1 vote
0 answers
336 views

Please suggest if possible in some way. I have tried to change the import path from react-query to vue-query after typescript-react-query has done with it. But I didn't able to make it work (actually ...
1 vote
4 answers
3k views

import { useQuery } from "vue-query"; const { isLoading, data /* read only */, error, isError, refetch } = useQuery("todo", todo) I just found out data returned by vue-query is ...
Nicolas S.Xu's user avatar
  • 14.6k

AltStyle によって変換されたページ (->オリジナル) /