O'Reilly logo

Programming Reactive Extensions and LINQ by Paul Betts, Jesse Liberty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R 7

Reactive Extensions for JavaScript

The concepts behind Reactive Extensions are universal in the world of computing; they are not specific to C# or .NET. To prove this, the Rx team at Microsoft ported the Reactive Extensions to JavaScript, and by doing so, brought the same powerful thinking about concurrency to the browser.

In this chapter, we will see how to take what you've already learned and apply it to HTML5 and JavaScript. We'll also see how we can integrate Rx with the popular jQuery library, and we'll learn how to take existing DOM APIs and events and integrate them with Rx. Using RxJS, we can replace complicated “spaghetti” code, consisting of many small callbacks and global state variables, with clean and succinct code ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required