@mikuroxina/mini-fn
    Preparing search index...

    Type Alias Lazy<T>

    Lazy evaluating object.

    type Lazy<T> = {
        cache: Option.Option<Dom.Dom<T>>;
        refs: WeakSet<NonNullable<unknown>>;
        thunk: () => Dom.Dom<T>;
        type: typeof lazySymbol;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    cache: Option.Option<Dom.Dom<T>>

    The rendered virtual DOM if did.

    refs: WeakSet<NonNullable<unknown>>

    The referencing objects used by thunk. These references are used to determine which Lazy is needed to rerender.

    thunk: () => Dom.Dom<T>

    The rendering function which has references of refs.

    type: typeof lazySymbol