Interface ValConfig<TValue>

Custom config for the val.

interface ValConfig<TValue> {
    eager?: boolean;
    equal?: false | ValEqual<TValue>;
}

Type Parameters

  • TValue = any

Properties

Properties

eager?: boolean

Set the default behavior of subscription and reaction. Emission triggers synchronously if true. Default false.

equal?: false | ValEqual<TValue>

Compare two values. Default Object.is. false to disable equality check.