useChatRequest
useChatRequest<
T>(load,deps,options?):UseChatRequestResult<T>
Defined in: libs/ccs-chat-user-client/src/react/hooks.ts:47
Loads load(client) and reloads it when deps change. load doesn’t need a stable identity — the
latest one is used. With TanStack Query or SWR, call the client’s methods from those instead.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”(client) => Promise<T>
DependencyList