Created
April 11, 2017 11:55
-
-
Save brakmic/e108115898354f038d8b7a6016da0172 to your computer and use it in GitHub Desktop.
alternative way of selecting customer state
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.store.select(appState => appState.customerState).subscribe(subState => { | |
const customerInstance = subState.customer; // not an observable but a concrete instance | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment