3 ms·
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 cod
by modernlearner 6y ago
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.
- nobleach 6y agoNot 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.