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

Add query invalidation abstraction #437

Open
alexanderleegs opened this issue Apr 29, 2021 · 0 comments
Open

Add query invalidation abstraction #437

alexanderleegs opened this issue Apr 29, 2021 · 0 comments

Comments

@alexanderleegs
Copy link
Contributor

As part of PR #389, we have shifted towards query invalidation in order to force refetching of data in different components, rather than refreshing the page or passing a refetch function down to child components. However, one downside of this is that the actual key which we need to invalidate is often complicated - we should look into introducing custom hooks to help with automatically invalidating the relevant cache.

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

No branches or pull requests

2 participants