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

Function handleClick

examples/react/suspense/src/components/Button.tsx:13–17  ·  view source on GitHub ↗
(e: any)

Source from the content-addressed store, hash-verified

11 const [isPending, startTransition] = React.useTransition()
12
13 const handleClick = (e: any) => {
14 startTransition(() => {
15 onClick(e)
16 })
17 }
18
19 return (
20 <>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected