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

Replace exported query keys with read hook invalidation helpers #19

Open
achou11 opened this issue Dec 19, 2024 · 0 comments
Open

Replace exported query keys with read hook invalidation helpers #19

achou11 opened this issue Dec 19, 2024 · 0 comments

Comments

@achou11
Copy link
Member

achou11 commented Dec 19, 2024

We currently expose the react query key helpers for easing integration of the read hooks since the write hooks are not implemented yet. However, these should not really be exposed for end-usage since they're highly tied to internal implementation details, although we still need to provide some sort of read hook invalidation api.

current idea is to remove the key helper exports and instead expose some kind of helper function(s) for invalidating the various read hooks.

@achou11 achou11 changed the title Remove exports related to query keys Replace exported query keys with read hook invalidation helpers Dec 19, 2024
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