MCPcopy Create free account
hub / github.com/clerk/javascript / useFetch

Function useFetch

packages/clerk-js/src/ui/hooks/useFetch.ts:64–122  ·  view source on GitHub ↗
(
  fetcher: ((...args: any) => Promise<T>) | undefined,
  params: K,
  options?: {
    onSuccess?: (data: T) => void;
    staleTime?: number;
  },
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

RemoveDomainFormFunction · 0.90
ActiveDevicesSectionFunction · 0.90
_OneTapStartFunction · 0.90
SignUpEmailCodeCardFunction · 0.90
useFetchRolesFunction · 0.90

Calls 2

useCacheFunction · 0.85
serializeFunction · 0.85

Tested by

no test coverage detected