如何從ngrx store中獲取Observable對象

counter$: Observable; 這個store的初始化不需要應用開發人員操心,直接通過構造函數參數的方式注入: 尖括號後的fromExample.State就是包含業務邏輯的數據結構。 store.select方法裏需要傳一個memoized selector:fromExample.getCounterCounter getCounterCounter這個選擇器 又是通過另一個選擇器
相關文章
相關標籤/搜索