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

Function Mutation

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

Source from the content-addressed store, hash-verified

50 }
51
52 function Mutation() {
53 const { mutate } = useMutation(mutationOpts)
54
55 return (
56 <div>
57 <button onClick={() => mutate()}>mutate</button>
58 </div>
59 )
60 }
61
62 function Page() {
63 return (

Callers

nothing calls this directly

Calls 4

useMutationFunction · 0.50
mutateFunction · 0.50
useMutationStateFunction · 0.50
isMutatingMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…