Created
October 11, 2017 09:54
-
-
Save nomanHasan/54aad888b42a4e52545782f30460b8de to your computer and use it in GitHub Desktop.
1 #todoapp-angular-ngrx
This file contains hidden or 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
import { TodoState } from './todo.state'; | |
import { environment } from '../../../environments/environment'; | |
import 'rxjs/add/operator/map'; | |
import 'rxjs/add/operator/mergeMap'; | |
import 'rxjs/add/operator/catch'; | |
import { Injectable } from '@angular/core'; | |
import { Http } from '@angular/http'; | |
import { Observable } from 'rxjs/Observable'; | |
import { Action } from '@ngrx/store'; | |
import { Actions, Effect } from '@ngrx/effects'; | |
import { of } from 'rxjs/observable/of'; | |
import * as TodoActions from './todo.action'; | |
import { HttpClient } from '@angular/common/http'; | |
@Injectable() | |
export class TodoEffects { | |
constructor( | |
private http: HttpClient, | |
private actions$: Actions | |
) { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment