Book Image

Hands-On RxJS for Web Development [Video]

By : ALEXANDER POSHTARUK
Book Image

Hands-On RxJS for Web Development [Video]

By: ALEXANDER POSHTARUK

Overview of this book

Web application code can get tangled up, which makes it hard to test and maintain. Also, asynchronous computations and HTTP requests have to be properly managed. However, with RxJS 6 you can unify, filter, and transform these streams with ease. By introducing RxJS 6 into your code, you can build clean and fault-tolerant web applications. This course shows you how to handle work tasks and issues with RxJS 6. It helps you develop the skills you need to create Reactive applications with RxJS 6. With this course, you'll enter the Reactive world by using Angular and vanilla JS. You will learn to execute asynchronous event handling techniques using RxJS 6. By the end of the course, you'll be saving precious development time by using RxJS 6. You'll scale your own applications effectively, and use Angular framework that relies on RxJS 6. All the code and supporting files for this course are available at https://github.com/PacktPublishing/Hands-on-RxJS-for-Web-development
Table of Contents (7 chapters)
Chapter 7
Fixing Anti-Patterns and Practicing Unit Tests
Content Locked
Section 1
Fixing RxJS Anti-Patterns to Improve Code Maintainability
In this video, we will review the main RxJS anti-patterns and find out how to avoid them. - Explore ‘Nested subscriptions’ and ‘Multiple subscriptions with same handler’ anti-patterns and their possible alternatives - Understand why using custom operators is good for the code - Find out how to deal with ‘repetitive observable usage of same observable in a template’ in Angular projects