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

Function forceUpdate

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

Source from the content-addressed store, hash-verified

3975 }
3976
3977 const forceUpdate = () => {
3978 setForceValue((prev) => prev + 1)
3979 }
3980
3981 const state = useQuery(() => ({
3982 queryKey: key1,

Callers 1

useSyncExternalStoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected