Capítulo 67 de 80
The mutation-side mirror of useIsFetching — reactive count of in-flight mutations, optionally scoped by mutationKey, for the same app-wide-loading-indicator use case.
filters (MutationFilters): scope to a mutationKey prefix or predicate — e.g. useIsMutating({ mutationKey: ['posts'] }).queryClient: optional explicit override.const isMutating = useIsMutating()
const isMutatingPosts = useIsMutating({ mutationKey: ['posts'] })
useIsFetching for a single "app is busy" indicator covering both reads and writes.isMutating(), the imperative equivalent.