Observer
RxJS - Part 5 - RxJS error handling
Error handling In the first post we saw that we have 3 main methods on Observer object: next, error and complete. Lets focus on error() method. When does it gets called? Lets see the code example.
RxJS - Part 4 - Operators
RxJS Operators introduction This time we are going to talk about operators. If you are not familiar with RxJS you should read first post in the series - introductory post. There are many different ways to deal with asynchronous data. We could use callback functions or promises. Also, we could use generators and make our life easier by writing code that deals with asynchronous data in a synchronous manner. However, when we are using RxJS, operators are primary tool for manipulating and dealing with data. Consequently, main benefit of RxJS is various range of operators it supports.
RxJS - Part 2 - Observable
Observable creation In the first post we saw how we can work with simple data sources and create an Observable from them. In this post we will see how can create Observable using various sources and methods available on Observable object.
RxJS - Part 1 - Introduction
Introduction to RxJS Reactive programming is nothing new in programming world. It has been used over 40 years ago or even before that. It started to bloom recently along with micro-services and functional programming. Idea is that we have something that represents a value over time which might constantly change. Most of the time when working with reactive programming we will be dealing with asynchronous programming. Even before Angular 2.0 was released Google or precisely Angular team decided to adopt and use RxJS internally in their framework. Since then it has grown rapidly in popularity.