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

Function clear

packages/query-devtools/src/Explorer.tsx:254–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252 const [term, setTerm] = createSignal('')
253 const [debouncedTerm, setDebouncedTerm] = createSignal('')
254 const clear = () => {
255 setTerm('')
256 setDebouncedTerm('')
257 }
258 const searchKey = createMemo(() => props.searchKey)
259 createEffect(
260 on(searchKey, () => {

Callers 1

SearchableExplorerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected