MCPcopy Index your code
hub / github.com/TanStack/query / Variables

Function Variables

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

Source from the content-addressed store, hash-verified

192 const mutationKey = ['mutation']
193
194 function Variables() {
195 variables.push(
196 useMutationState({
197 filters: { mutationKey, status: 'pending' },
198 select: (mutation) => mutation.state.variables,
199 }),
200 )
201
202 return null
203 }
204
205 function Mutate() {
206 const { mutate, data } = useMutation({

Callers

nothing calls this directly

Calls 1

useMutationStateFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…