Chapter 10. RxJS in the wild

 

This chapter covers

  • Integrating RxJS with other popular JavaScript libraries
  • Introducing React and Redux
  • Compartmentalizing UI components using React
  • Feed-forward state propagation using Redux
  • Rolling your own functional, asynchronous middleware using RxJS subjects
  • Building a banking application using only reactive frameworks

The moment is finally here to answer a question you may have asked yourself a few times along this journey: “I can use RxJS to solve all of my asynchronous programming needs, but how can I use it in the context of an entire application?” This is a valid question and one that you’ll answer by getting your hands dirty and seeing how RxJS plays out in the “Wild Wild Web.”

This chapter is structured slightly differently from the previous ones, because we expect you to know most of the techniques from the earlier lessons by now. Given that you have a good understanding of Rx, we take the opportunity to introduce you to other technologies under the reactive umbrella called React and Redux. You can use these frameworks in conjunction with RxJS, and we think they’re well worth your time learning about, especially if you’re looking to scale the reactive paradigm to large JavaScript applications.

10.1. Building a basic banking application

10.2. Introduction to React and Redux

10.3. Redux-ing application state

10.4. Building a hot RxJS and Redux store adapter

10.5. Asynchronous middleware with RxJS Subject

10.6. Bringing it all home

10.7. Parting words

10.8. Summary