interface / @typed/vue

ReactiveOptions

Skip automatic execution (including SSR); refresh explicitly when ready.

Package version
1.0.0-beta.13
Category
interface

Import

import { ReactiveOptions } from "@typed/vue";

Signatures

export interface ReactiveOptions<A, E, R, ER = never> {
    readonly runtime?: MaybeRefOrGetter<VueRuntime<R, ER>>;
    readonly initial?: Data.AsyncData<A, E | ER>;
    readonly immediate?: boolean;
    readonly onError?: (cause: Cause.Cause<E | ER>) => void;
}

Property: immediate

Skip automatic execution (including SSR); refresh explicitly when ready.

Property: initial

A transferred snapshot is authoritative during SSR and the first hydration render.

Other public imports

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

Source