Getting Started with Reactive Programming Using RxJS
By Scott Allen
Course info



Course info



Description
Reactive programming is more than an API. Reactive programming is a mindset. In this course, Getting Started with Reactive Programming Using RxJS, you'll see how to set up and install RxJS and work with your first Observable and Observer. You'll use RxJS to manage asynchronous data delivered from DOM events, network requests, and JavaScript promises. Finally, you'll learn how to handle errors and exceptions in asynchronous code, and learn about the RxJS operators you can use as composable building blocks in a data processing pipeline. By the end of the course, you'll have the fundamental knowledge you need to use RxJS in your own applications, and use other frameworks that rely on RxJS.
Section Introduction Transcripts
Course Overview
Hi, this is Scott Allen, and I'd like to show you how to get started with the reactive programming library for JavaScript, the library RxJS. Reactive programming is on the rise in the software world because reactive programming combines existing design patterns and functional programming concepts to give us a wonderful and flexible approach to asynchronous programming. More and more we see frameworks and applications turning to reactive programming to manage events, process network requests, replace JavaScript promises, and react to the user to manipulate the UI. In this course we'll start from scratch and see how to install and configure a development environment for working with RxJS Version 5. This version of RxJS uses the latest features of the JavaScript standard, features like models and classes, so we will set up a compiler and module bundler to deliver code to the web browser. Once we're set up we'll see how to create an Observable to deliver an asynchronous stream of data and create an Observer to react to the incoming data. Throughout the course we'll also see how to use RxJS abstractions to process events in the browser. We'll make HTTP requests to a web server and implement error handling code with retry logic. By the end of this course you'll have the fundamental knowledge you need to use RxJS in your own applications, and use other frameworks that rely on RxJS.