Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ resetProjectsApiState
Function
resetProjectsApiState
examples/lit/pagination/src/api.ts:158–166 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
156
}
157
158
export
async
function
resetProjectsApiState(): Promise<void> {
159
await
requestJson<{ ok: true }>(
160
new
URL(
'/api/reset'
, API_BASE_URL),
161
{
162
method:
'POST'
,
163
},
164
'Failed to reset API state'
,
165
)
166
}
Callers
1
resetDemoState
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected