Skip to main content

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>
ParameterTypeDetails
load() => Promise<T>—
enabledboolean—

Returns: OvokRequestState<T>.

Learn the workflow​

Continue with React for the workflow context and examples.

Source​

View the declaration in the SDK source.