Re:Functional Programming in JavaScript: A Collection of Han...
by mattpodwysocki on Saturday October 18, 2014 @11:05AM
(#8475453)
@jhusain not only that but we did introduce a CLI which allows you to bring in only what you need:
https://github.com/Reactive-Extensions/RxJS/releases/tag/v2....
Still in its early days but is very promising for making RxJS as small as you wish.
rcfox: These exercises teach functional programming concepts, and that includes composition as it applies to the Observer pattern. I use RX but you could also use bacon JS or build your own lightweight Observable library. You should check out rx.lite.js which is a minimal subset of the library. As for your concerns about including a library, I urge you to reconsider if you can afford the extra download size. The Observer pattern is ubiquitous in software and you'll be amazed how versatile Rx is. At Netflix we use it on the server and client for a wide variety of different tasks. Rx has more than paid for itself 10 times over.