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

Function inc

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

Source from the content-addressed store, hash-verified

3971 const [forceValue, setForceValue] = createSignal(1)
3972
3973 const inc = () => {
3974 setCount((prev) => prev + 1)
3975 }
3976
3977 const forceUpdate = () => {
3978 setForceValue((prev) => prev + 1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected