News for hackers. Stuff that matters.
Re:Angular 11 by modernlearner on Thursday November 12, 2020 @11:18AM (#25071383)
Just ran into this when building a component to display and filter data. It was starting to turn into a monster when trying to use Rx.js and in the end, the code was simpler to understand with multiple for loops and forEach and map/filter calls.

I ended up with a service that doesn't rely on observables.

Re:Angular 11 by nobleach on Thursday November 12, 2020 @06:36PM (#25076828)
Not to mention, easier to test. I had a branch of my code where I had finally figured out how to reliably test the stream/observable variant, but it was just an ugly mess.