4 ms·
rxjs is already available and allows to perform chained transformations by using wide variety of methods.
by sAbakumoff 8y ago
rxjs is already available and allows to perform chained transformations by using wide variety of methods.
- yanis_t 8y agoGood point. I've heard about it but never could quite understand if it's useful enough. Can you share some public repos where it's being used?
- sAbakumoff 8y agothe official web-site is pretty informative and has a ton of samples..https://rxjs-dev.firebaseapp.com/api https://rxjs-dev.firebaseapp.com/api - take a look at operators section for example. as for public repos - nowadays any modern front-end app that is built with Angular is using rxjs - it's de factor standard for data processing in angular world.
- yanis_t 8y agoThanks sir. Will take a look
- jbob2000 8y agoI've been converting our eCommerce site to using it. It's OK. Way too complicated for the average developer, it's full of jargon that is not usually present in JS/web development. The use cases they have on their site do not reflect how it is actually used, I spent a lot of time wondering how to translate their examples of clicks and timers into my problems of API calls and route changes. The more I think about how I use it, the more I realize I'm using it to clean up the leaky abstractions from our backend. If our backend was better, promises would meet my needs fully - get the data, stick it in the views. But no. I have to do all these bullshit transformations and call multiple APIs because apparently Java Spring apps are EXTREMELY DIFFICULT to develop...
- WorldMaker 8y agorxjs encourages a pipe() function approach as mentioned in other threads. It would still benefit from a pipe operator replacing that function, as the operator version would be easier to type (in Typescript and Flow) and to some of us aesthetically cleaner. The pipe operator that this article is hoping gets adopted is just a generic version of the rxjs pipe() function.