-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Multi mutation hook #128
base: main
Are you sure you want to change the base?
Multi mutation hook #128
Conversation
✅ Deploy Preview for funny-banoffee-0afb46 canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I think this should be doable without touching much the mutation store but it might also be missing a few things yet.
If you want, you can give it a try without adding new actions to the mutation store
I want, once I ensure base multi mutation works I plan to take a deeper look into the missing essential Mutation features, including:
|
I'm happy to have more contributions! Most of these are planned as plugins to keep the library to the most used features and keep it lean. |
TanStack has abstraction with options for both query and mutation. I might be quite misled, but we have gcTime as part of UseQueryOptions interface and UseMutationOptions lacks some properties like gcTime. (We should also pay attention that queryClient is missing and maybe it would make lot's of reconstruction if being postponed). |
The goal is not to copy tanstack query. Every feature I add is based on a need that I personally validated. When something is not as common, I push it into a plugin. This way the library is kept small and efficient |
Adresses #88
Change log: