Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ngOnInit() {
- this.heroes$ = this.store.select(getHeroes);
- this.isFirst$ = this.store.select(getIsFirstPage);
- this.isLast$ = this.store.select(getIsLastPage);
- this.isLoading$ = this.store.select(getIsLoading);
- this.store.dispatch(new FetchHeroes());
- }
Add Comment
Please, Sign In to add comment