Functional Reactive Programming in JavaScript



0
1998

http://WatchMeCode.net presents A Gentle Introduction to Functional JavaScript - Functional Reactive Programming Resources: * Github Repo: https://github.com/ChetHarrison/A-Gentle-Introduction-to-Functional-JavaScript * RxJS: http://reactivex.io/rxjs/ In this 3rd episode of the Functional JavaScript series, Chet Harrison teaches us what it takes to handle asynchronous code in a functional paradigm using the Observable pattern. With a surprisingly simple pattern, events from DOM elements, object models, and even streams of data can be adapted to a standard interface. This allows you to take advantage of nearly any source of data - whether it's a mouse click, an AJAX call, a Promise, or otherwise - and integrate it directly into your functional code and composition. With such a powerful tool, you may expect it to be fairly complex. But as Chet shows us, it is surprisingly simple to create an Observable on your own and even easier with RxJS.

Published by: River Lynn Bailey Published at: 7 years ago Category: علمی و تکنولوژی