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

chore: add cache modifiers to mutations #19

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AlfreMK
Copy link
Contributor

@AlfreMK AlfreMK commented Sep 7, 2024

This pull request aims to add cache modifiers to the mutations that uses tanstack query. Could not test these changes given that the servers are down so I will not merge it directly.

If this codebase is bring back to life eventually, please consider merging these changes because it will be very useful to avoid doing too many requests to the backend.

@AlfreMK AlfreMK self-assigned this Sep 7, 2024
@AlfreMK AlfreMK linked an issue Sep 7, 2024 that may be closed by this pull request
@AlfreMK AlfreMK changed the title chore: add cache modifiers to queries chore: add cache modifiers to mutations Sep 7, 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

Successfully merging this pull request may close these issues.

Should use optimistic updates for tanstack query related hooks
1 participant