TanStackT
TanStack3y ago
4 replies
awake-maroon

Make useQuery re-run when refs change

Hello, i'm a React developer trying to get the hang of using vue-query with Vue

Is there any example out there showcasing how do i go about making useQuery fire again when one of my refs change?

Do i have to call it once inside the setup function and then again within the onUpdated lifecycle hook?

I am pretty confused,
Thanks in advance
Was this page helpful?