Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Composition API] useLazyQuery #1068

Closed
justinwaite opened this issue Oct 2, 2020 · 0 comments
Closed

[Composition API] useLazyQuery #1068

justinwaite opened this issue Oct 2, 2020 · 0 comments

Comments

@justinwaite
Copy link

Is your feature request related to a problem? Please describe.
I need to delay the fetching of a query until a certain action triggers it.

Describe the solution you'd like
In the official Apollo react client, there is a useLazyQuery.

Describe alternatives you've considered
Using useClient to create my own "lazy" query with client.query.

@Akryum Akryum added the v4 label Oct 15, 2020
Akryum added a commit that referenced this issue Oct 17, 2020
@Akryum Akryum closed this as completed Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants