N👩
Size: a a a
N👩
НК

N👩
map берет значение из потока, обрабатывает его и передает дальше в потокN👩
switchMap берет значение из потока и возвращает поток, на который в дальнейшем можно подписаться и получить его значениеMG
CT
N👩
MG
J
Вキ
MG
Вキ
C
DT
export const getConditionsState = createFeatureSelector<InfoState>('conditions');
export const selectExactConditions = createSelector(
getConditionsState,
(conditions, props: any) => {
console.log(conditions, props);
const {amount, term, today} = props;
return [];
});this.store.select(
selectExactConditions(
{term: this.term, amount: this.amount, today: this.today}
)
);
AB
export const getConditionsState = createFeatureSelector<InfoState>('conditions');
export const selectExactConditions = createSelector(
getConditionsState,
(conditions, props: any) => {
console.log(conditions, props);
const {amount, term, today} = props;
return [];
});this.store.select(
selectExactConditions(
{term: this.term, amount: this.amount, today: this.today}
)
);
this.store.select(selectExactConditions,
{term: this.term, amount: this.amount, today: this.today}
);Вキ
DT
this.store.select(selectExactConditions,
{term: this.term, amount: this.amount, today: this.today}
);C