How to use skipToken with useReadQuery?
#9663
Replies: 1 comment
-
|
This is the TanStack Query repo, not apollo |
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.
-
Hey there,
I'm using
useBackgrounQueryanduseReadQuerywithskipToken.However, when the
skipTokenis passed,useBackgroundQueryreturnsundefinedas ref, which causesuseReadQueryto throw a runtime error.I couldn't find a solution for the conditional
useReadQuerycall in the docs.Do you have any suggestions?
Here's the code, I'm using
@apollo/[email protected]:Beta Was this translation helpful? Give feedback.
All reactions