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

Function clear

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

Source from the content-addressed store, hash-verified

294 const [term, setTerm] = createSignal('')
295 const [debouncedTerm, setDebouncedTerm] = createSignal('')
296 const clear = () => {
297 setTerm('')
298 setDebouncedTerm('')
299 }
300 const searchKey = createMemo(() => props.searchKey)
301 createEffect(
302 on(searchKey, () => {

Callers 1

SearchableExplorerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected