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

Reset lazy query #434

Open
simPod opened this issue Apr 24, 2024 · 1 comment
Open

Reset lazy query #434

simPod opened this issue Apr 24, 2024 · 1 comment
Labels
🪝 react hooks Feature requests related to React hooks

Comments

@simPod
Copy link

simPod commented Apr 24, 2024

Mutations have reset functionality https://www.apollographql.com/docs/react/data/mutations/#resetting-mutation-status

Can we have the same for queries? I'd like to be able to reset the object's state the same way I can for mutations now.

@jerelmiller
Copy link
Member

Hey @simPod 👋

Thanks for the request! Would you be able to go into more detail about your use case? We'd love to best understand what you're looking to do by resetting the state. Thanks!

@jerelmiller jerelmiller added the 🪝 react hooks Feature requests related to React hooks label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪝 react hooks Feature requests related to React hooks
Projects
None yet
Development

No branches or pull requests

2 participants