useQuery don't not call under async method
here the useQuery call
the executeList method
And listUserEvents
The executeList is triggered but the listUserEvents is not triggered, when I try with useEffect everything work but with useQuery the
console.log('fetching events from api');
is not print and I don't understand why
I'm really new with this lib I probably miss something
Thank for your help 🙂1 Reply
correct-apricotOP•14mo ago
everything work fine It was just the
this
context which was lost I just use anonymous func and it's good now 🙂