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

Function inc

packages/solid-query/src/__tests__/useQuery.test.tsx:4028–4030  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4026 const [forceValue, setForceValue] = createSignal(1)
4027
4028 const inc = () => {
4029 setCount((prev) => prev + 1)
4030 }
4031
4032 const forceUpdate = () => {
4033 setForceValue((prev) => prev + 1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected