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

Function handleClick

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected