interface / @typed/react/Hooks

ReactiveOptions

Defer the first execution until refresh.

Package version
1.0.0-beta.13
Category
interface

Import

import { ReactiveOptions } from "@typed/react/Hooks";

Signatures

export interface ReactiveOptions<A, E, R = never, ER = never> {
    readonly runtime?: Runtime<Exclude<R, Scope.Scope>, ER>;
    readonly initial?: Data.AsyncData<A, E | ER>;
    readonly immediate?: boolean;
}

Property: immediate

Defer the first execution until refresh.

Property: initial

Serialized identically for SSR and hydration. Defaults to NoData; never evaluates the source on the server.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source