After angular upgrade “Effect” was not available in "@ngrx/effects". But we used “Effect” in our old code we are getting issues.
export class DictionaryService {
@Effect({dispatch: false})
authActions$ = this.actions$.pipe(
ofType<Login>(LOGIN),
tap(() => {
this.dictionaryKeys.forEach(key => {
this.getData(key).pipe(take(1)).subscribe();
});
}));
}
Getting issue at “@Effect({dispatch:false})”
. How to solve this issue?