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

Function handleOnInput

examples/solid/algolia/src/Search.tsx:10–15  ·  view source on GitHub ↗
(
    event,
  )

Source from the content-addressed store, hash-verified

8 const [debouncedQuery] = createDebouncedValue(query, { wait: 300 })
9
10 const handleOnInput: JSX.EventHandler<HTMLInputElement, InputEvent> = (
11 event,
12 ) => {
13 event.preventDefault()
14 setQuery(event.currentTarget.value)
15 }
16
17 return (
18 <div>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected