Skip to content

Add lazyQuery option #393

Apr 23, 2020 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

I see, you don't want to pass the variables until you want to call it. With that expectation, how would useLazyQuery know what data to fetch from the cache? How would it know when to update?

I am having a hard time seeing how this pattern would benefit from the same things that useQuery and the like do.

I'm going to turn this into a discussion so we can talk about the use cases more.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@krunaldodiya
Comment options

Comment options

You must be logged in to vote
5 replies
@krunaldodiya
Comment options

@tannerlinsley
Comment options

@cherniavskii
Comment options

@tannerlinsley
Comment options

@krunaldodiya
Comment options

Answer selected by krunaldodiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #393 on April 23, 2020 16:57.