MCPcopy
hub / github.com/TanStack/query / IsMutating

Function IsMutating

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

Source from the content-addressed store, hash-verified

19 const queryClient = new QueryClient()
20
21 function IsMutating() {
22 const isMutating = useIsMutating()
23
24 isMutatingArray.push(isMutating)
25
26 return null
27 }
28
29 function Mutations() {
30 const { mutate: mutate1 } = useMutation({

Callers

nothing calls this directly

Calls 1

useIsMutatingFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…