Book Image

Architecting Reactive Angular Applications with Redux and NgRx [Video]

By : Christoffer Noring
Book Image

Architecting Reactive Angular Applications with Redux and NgRx [Video]

By: Christoffer Noring

Overview of this book

Have you ever thought of combining the power of Redux and reactive JavaScript to build a responsive and reactive application? Well then, this course is your ideal choice to manage state in Angular to write reactive apps. This course will help you build Angular applications by incorporating reactive programming principles and making it easier to develop, test, and debug your applications. Throughout the nine sections, the extensive examples will help you implement state management with Redux, create observables, and handle errors with RxJS. You will first explore NgRx to set up the state, add a store, debug its state, and customize the saved router state. After that, you will learn to handle side effects and add support to your app. You’ll learn to reduce the boilerplate code and use blueprints for scaffolding out features. This course will not only empower you to use Redux and NgRx to the fullest but will also help you build your own micro implementation of NgRx for a database-backed app. The code bundle for this course is available at: https://github.com/PacktPublishing/Architecting-Reactive-Angular-Applications-with-Redux-and-NgRx-Video-
Table of Contents (9 chapters)
Chapter 6
Handling Side Effects
Content Locked
Section 3
Error-Handling in an HTTP Effect and Best Practices
We need to handle errors when doing an effect in HTTP, and we will learn to use the correct operator, so our code does what it is supposed to do. - Define an error handler, and learn to deal with a client, as well as server errors - Learn the difference between switchMap and concatMap