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

Function forceUpdate

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

Source from the content-addressed store, hash-verified

4030 }
4031
4032 const forceUpdate = () => {
4033 setForceValue((prev) => prev + 1)
4034 }
4035
4036 const state = useQuery(() => ({
4037 queryKey: key1,

Callers 2

PageFunction · 0.85
useSyncExternalStoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected