MCPcopy Create free account
hub / github.com/TanStack/query / IsMutating

Function IsMutating

packages/react-query/src/__tests__/useMutationState.test.tsx:23–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 const key2 = queryKey()
22
23 function IsMutating() {
24 const isMutating = useIsMutating()
25
26 isMutatingArray.push(isMutating)
27
28 return null
29 }
30
31 function Mutations() {
32 const { mutate: mutate1 } = useMutation({

Callers

nothing calls this directly

Calls 1

useIsMutatingFunction · 0.50

Tested by

no test coverage detected