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

Function IsMutating

packages/react-query/src/__tests__/mutationOptions.test.tsx:45–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 })
44
45 function IsMutating() {
46 const isMutating = useIsMutating()
47
48 isMutatingArray.push(isMutating)
49
50 return null
51 }
52
53 function Mutation() {
54 const { mutate } = useMutation(mutationOpts)

Callers

nothing calls this directly

Calls 1

useIsMutatingFunction · 0.50

Tested by

no test coverage detected