See more
…$.pipe( map(action => action.payload), switchMap(payload => this.myService.save(payload)), tap(res => this.store.dispatch(new Notification('save success'))), map(res => new SaveSuccess(res))…
The advantage of DRY (Don’t Repeat Yourself) in programming is crucial, especially when writing applications for the web. Web components can be…