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

Function mutate

packages/solid-query/src/useMutation.ts:194–196  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

192 TVariables,
193 TOnMutateResult
194 > = (...args) => {
195 observer.mutate(args[0] as TVariables, args[1]).catch(noop)
196 }
197
198 const [state, setState] = createStore<
199 UseMutationResult<TData, TError, TVariables, TOnMutateResult>

Callers

nothing calls this directly

Calls 1

mutateMethod · 0.45

Tested by

no test coverage detected