In angular (v5) how do I listen to my apps Redux state object changing?
问题 I need to know how to create a listener e.g. I want to subscribe to the AppState changing. Below is my current very basic service. I have a dispatch action on the view which increments the counter. Once the counter changes value I'd like to detect this in other parts of my website e.g. the global header for example. I'm using ng2-Redux with angular version 5. Redux service: export interface IAppState { counter: number; } export const INITIAL_APP_STATE: IAppState = { counter: 0 }; export