I also did this and while its neat that every response gets a toast it can also be annoying. If you need to do a batch of operations like creating an order, attach different products with individual payloads. It gets a bit annoying to always see the success growl spam.
1
u/comp_freak May 04 '20
Interesting, I am learning angular course and the authors shows use of interceptor and toaster to show notifications for API errors.
https://angular.io/api/common/http/HttpInterceptor
https://www.npmjs.com/package/ngx-toastr