-
-
Notifications
You must be signed in to change notification settings - Fork 522
How to disable query trigger in ApolloQuery component and call it programmatically based on some logic. #1470
Unanswered
jaybharadia
asked this question in
Q&A
-
Currently, behaviour is that query is hitting as soon as the component mounts.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments
-
I got the solution
- Use
skip
prop - Extract
query
slot scope - call
query.start
to programmatically call query.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
-
In @vue/apollo-composable
you can also use useLazyQuery
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment