Replies: 1 comment
-
|
we need access to the key because skipToken only sets |
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.
-
Hello. I have a query written like so:
The
queryOptionshelper is handy for wrapping up thequeryFnand thequeryKey, and I understand that I can use logic inside the above definition to addskipTokento the query function, but it seems like it would be much cleaner to useskipTokenor something similiar within theuseQuery, only where applicable - rather than to always define conditions for skipToken inside thequeryOptionshelper.Like so:
NOTE: I'm in typescript and cannot use the enable field on the query options
Beta Was this translation helpful? Give feedback.
All reactions