How to use with Astro + React? #3511
Unanswered
kaushalyap
asked this question in
Q&A
Replies: 0 comments
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.
-
I am trying use URQL inside a React component Astro project, but using
useQuerygives following errorWhich make sense in Astro project I do not have root component. I tried to use
still gives the same error, as I searched I found there is no API to pass client object to
useQueryhook. There was suggestion for multiple clients but it was rejected, Apollo client supports client objectCurrent solution seems to be
Disadvantages with this is it does not give you the
fetchingstate andrefetchingfunction.Is there any other way to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions