【发布时间】:2021-05-20 19:55:50
【问题描述】:
我正在尝试使用 ngRx 准备信用卡申请。我已经设置了我的操作、减速器和效果,但是在我的减速器结束时,当我尝试访问信用卡 ID 时,我遇到了上述错误。错误是实体没有回调。
export const getCurrentCreditCard = createSelector(
getCreditCardFeatureState,
getCurrentCreditCardId,
state => state.entities(state.selectedCreditCardId)
);
代码有点多...请这里是 git repo 的链接。 https://github.com/ProgrammeMitch/credit_card_store_ngrx 请帮忙
【问题讨论】:
标签: angular typescript rxjs ngrx