useOvokRequest
No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.
Kind: React hook
Package: @ovok/core
Import
import { useOvokRequest } from '@ovok/core';
TypeScript signatures
<T>(load: () => Promise<T>, enabled?: boolean): OvokRequestState<T>
| Parameter | Type | Details |
|---|---|---|
load | () => Promise<T> | — |
enabled | boolean | — |
Returns: OvokRequestState<T>.
Learn the workflow
Continue with React for the workflow context and examples.