MCPcopy Create free account
hub / github.com/TanStack/devtools / handleSearchInput

Function handleSearchInput

packages/devtools/src/tabs/plugin-marketplace.tsx:37–47  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

35
36 // Debounce search input
37 const handleSearchInput = (value: string) => {
38 setSearchInput(value)
39
40 if (debounceTimeout) {
41 clearTimeout(debounceTimeout)
42 }
43
44 debounceTimeout = setTimeout(() => {
45 setSearchQuery(value)
46 }, 300)
47 }
48
49 const toggleSection = (framework: string) => {
50 setCollapsedSections((prev) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected