O'Reilly logo

RxJS in Action by Paul P. Daniels and Luis Atencio

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

Chapter 2. Reacting with RxJS

This chapter covers

  • Looking at streams as the main unit of work
  • Understanding functional programming’s influence on RxJS
  • Identifying different types of data sources and how to handle them
  • Modeling data sources as RxJS observables
  • Consuming observables with observers

When writing code in an object-oriented way, we’re taught to decompose problems into components, interactions, and states. This breakdown occurs iteratively and on many levels, with each part further subdivided into more components, until at last we arrive at a set of cohesive classes that implement a well-defined set of interactions. Hence, in the object-oriented (OO) approach, classes are the main unit of work. Every time a component is created, ...

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