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

Function States

packages/solid-query/src/__tests__/useMutationState.test.tsx:24–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 const mutationKey = queryKey()
23
24 function States() {
25 const mutationStates = useMutationState()
26
27 return <div>count: {mutationStates().length}</div>
28 }
29
30 function Mutate() {
31 const mutation = useMutation(() => ({

Callers

nothing calls this directly

Calls 1

useMutationStateFunction · 0.50

Tested by

no test coverage detected