DerivedFnProps

Interface: DerivedFnProps<TArr, TUnwrappedArr>

Type Parameters

TArr extends ReadonlyArray<Derived<any> | Store<any>> = ReadonlyArray<any>

TUnwrappedArr extends UnwrapReadonlyDerivedOrStoreArray<TArr> = UnwrapReadonlyDerivedOrStoreArray<TArr>

Properties

currDepVals

ts
currDepVals: TUnwrappedArr;
currDepVals: TUnwrappedArr;

Defined in

derived.ts:35


prevDepVals

ts
prevDepVals: undefined | TUnwrappedArr;
prevDepVals: undefined | TUnwrappedArr;

Defined in

derived.ts:34


prevVal

ts
prevVal: unknown;
prevVal: unknown;

undefined if it's the first run

Defined in

derived.ts:33

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.