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

[Feature Request] Support hook cancellation / abort #1872

Open
Tsimopak opened this issue Nov 18, 2024 · 0 comments
Open

[Feature Request] Support hook cancellation / abort #1872

Tsimopak opened this issue Nov 18, 2024 · 0 comments

Comments

@Tsimopak
Copy link

Tsimopak commented Nov 18, 2024

The idea is to be able to abort hook fetching when it's not relevant anymore, for example when toggling between pages - this is a crucial thing to cancel the previous fetch otherwise the data may be not correct.

Discord discuss: https://discord.com/channels/1035538056146595961/1307893921589760061/1307893921589760061

In case it is possible, I would add it to the documentation: https://zenstack.dev/docs/reference/plugins/tanstack-query

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant