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

Function mutate

packages/solid-query/src/useMutation.ts:38–40  ·  view source on GitHub ↗
(variables, mutateOptions)

Source from the content-addressed store, hash-verified

36 TVariables,
37 TOnMutateResult
38 > = (variables, mutateOptions) => {
39 observer.mutate(variables, mutateOptions).catch(noop)
40 }
41
42 const [state, setState] = createStore<
43 UseMutationResult<TData, TError, TVariables, TOnMutateResult>

Callers 2

PageFunction · 0.50
PageFunction · 0.50

Calls 1

mutateMethod · 0.45

Tested by 2

PageFunction · 0.40
PageFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…