3
sboesch
5y

Fuck Redux/ngrx. I'm done, I can't get my head around this ugly shit. All I wanted was to load/save api data in a clean way and display a loading indicator now and then. But definitely not multiplying my entire code base by 10. Actions, Reducers, Effects. What is this?! Fuck that rocket science.

Comments
  • 3
    ¯\_(ツ)_/¯

    @highlight
    this.loading = true;
    api.get().then(data => {
    ...
    this.loading = false;
    }
  • 1
  • 2
    @hack exactly what I'm doing now and what I did before. Sometimes I'm just too obsessed with writing "perfect code".
  • 1
    Lol Angular
  • 0
    Try looking into NGXS. It's like NGRX, but written from the ground up with Angular in mind, instead of just being a Redux port. Their documentation is also really good
Add Comment