• TState
• TArr extends ReadonlyArray<Derived<any> | Store<any>> = ReadonlyArray<any>
new Derived<TState, TArr>(options): Derived<TState, TArr>
new Derived<TState, TArr>(options): Derived<TState, TArr>
DerivedOptions<TState, TArr>
Derived<TState, TArr>
lastSeenDepValues: unknown[] = [];
lastSeenDepValues: unknown[] = [];
listeners: Set<Listener<TState>>;
listeners: Set<Listener<TState>>;
options: DerivedOptions<TState, TArr>;
options: DerivedOptions<TState, TArr>;
prevState: undefined | TState;
prevState: undefined | TState;
state: TState;
state: TState;
checkIfRecalculationNeededDeeply(): void
checkIfRecalculationNeededDeeply(): void
void
getDepVals(): object
getDepVals(): object
object
currDepVals: unknown[];
currDepVals: unknown[];
prevDepVals: unknown[];
prevDepVals: unknown[];
prevVal: undefined | NonNullable<TState>;
prevVal: undefined | NonNullable<TState>;
mount(): () => void
mount(): () => void
Function
void
recompute(): void
recompute(): void
void
registerOnGraph(deps): void
registerOnGraph(deps): void
readonly (Derived<any, readonly any[]> | Store<any, (cb) => any>)[] = ...
void
subscribe(listener): () => void
subscribe(listener): () => void
Listener<TState>
Function
void
unregisterFromGraph(deps): void
unregisterFromGraph(deps): void
readonly (Derived<any, readonly any[]> | Store<any, (cb) => any>)[] = ...
void
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.