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 useMutationsState() #44

Open
posva opened this issue May 16, 2024 · 0 comments
Open

add useMutationsState() #44

posva opened this issue May 16, 2024 · 0 comments
Labels
✨ feature request a new feature request

Comments

@posva
Copy link
Owner

posva commented May 16, 2024

useMutationsState(filters: MutationFilters)
// or
useMutationState(opts: { filters: MutationFilters, select: (mutationEntry) => T })

It seems that it's often useful to select a part of the mutation entry. This also means that we first need the mutation store

@posva posva converted this from a draft issue May 16, 2024
@posva posva added the ✨ feature request a new feature request label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature request a new feature request
Projects
Status: Todo
Development

No branches or pull requests

1 participant