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

Send refresh metadata to ReactQuery/DataProvider when clicking refresh icon on top right #9550

Closed
davidhenley opened this issue Dec 27, 2023 · 1 comment

Comments

@davidhenley
Copy link
Contributor

davidhenley commented Dec 27, 2023

Is there any way to set a flag on the dataProvider methods that says that the user manually clicked the refresh button?

This would be useful for sending a cache flag when calling the API to send back uncached data.

Am I overthinking this? This just popped in my head.

@fzaninotto
Copy link
Member

You should customize the <LoadingIndicator onClick> instead, see #9420

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

2 participants