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 1
Installation and Setup
Side effects are not considered part of the Redux flow, because they are asynchronous, and needs to be handled differently than synchronous actions. A specific message in the flow can trigger a side effect, and a side effect should send a message to the flow, when it’s done. - Explain what a side effect is, and why we need to handle it differently - Set up and configure the npm library we need - Learn to create a simple effect