Clarification on documentation: useQuery Issues vs successful useAsyncQuery usage #527
Closed
DidoMarchet
started this conversation in
General
Replies: 1 comment
-
having the same issue here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I've been reading through the documentation, and I see that I can use both
useAsyncQuery
anduseQuery
.However, when I try to use
useQuery
, I get the following internal server error:I'm not sure why this is happening, as I've followed the documentation closely.
In the meantime, I've been using
useAsyncQuery
for server-side rendering calls and after user interaction calls (e.g., button clicks) without encountering any issues.So, my question is: What did I overlook when reading the documentation? How should I be using
useQuery
? Is it more convenient to useuseAsyncQuery
in all situations?Thanks and kind regards,
Davide
Beta Was this translation helpful? Give feedback.
All reactions