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

Function forceUpdate

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

Source from the content-addressed store, hash-verified

4035 }
4036
4037 const forceUpdate = () => {
4038 setForceValue((prev) => prev + 1)
4039 }
4040
4041 const state = useQuery(() => ({
4042 queryKey: key1,

Callers 2

PageFunction · 0.85
useSyncExternalStoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected