#Noobie question
1 messages · Page 1 of 1 (latest)
i did, still this didn't work 😦
if I add the data though
const {
isSuccess,
isLoading,
isError,
data,
refetch: fetchActivePlans
} = useQuery({
I get the response
is it suppose to work with useEffect if you perform such an action?
It's working for me even without data:
https://stackblitz.com/edit/tanstack-query-wbqh97?file=src%2Findex.jsx
Use the query devtools!
thanks I will have a look!