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

Function isLoading

examples/solid/suspense/src/components/Button.tsx:11–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9 const [isPending, startTransition] = useTransition()
10 const [isStarted, setIsStarted] = createSignal(false)
11 const isLoading = () => isStarted() && isPending()
12
13 return (
14 <button

Callers 1

ButtonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected