-
Notifications
You must be signed in to change notification settings - Fork 71
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
Feature: Support conditional triggering of queries #312
Comments
hi @daoleno, I totally understand the feature requested, I remember entertaining this idea with someone. Very similar to Apollo useQuery I believe in that occasion the dev decided to opt for conditionally render a child component. Did you entertain this idea? Any other alternative you might have considered? For the next time, can I please ask you to use the provided template if possible?
|
Posting requires gas fee! Interaction, likes and comments are also needed. |
@meta113 you lost me there, can you please clarify how you see it relates with the conversation? In general, posting on lens is for the vast majority subsidized by the Protocol. So gas is not needed for the vast majority of users. Comments and reactions (likes) are also features of the Protocol, subsidized as well. |
Work in progress on this available here: #467 |
This will be implemented in the shape of "lazy hooks". Closing this issue for now. |
Similar to the enable option in useQuery of React Query, I would like to trigger a query only when certain conditions are met.
The text was updated successfully, but these errors were encountered: