Angular NgRx: Getting Started
By Duncan Hunter and Deborah Kurata
Course info



Course info



Description
At the core of state management in Angular is a thorough knowledge of the Redux pattern and the NgRx library. NgRx is a powerful library for organizing and managing state and interactions with the state in your Angular applications following the Redux pattern. In this course, Angular NgRx: Getting Started, you will learn the three principles of the Redux pattern that NgRx follows and the benefits this brings to your Angular applications. First, you will discover how to define a single store for all of your application state, access data from the store with selectors, dispatch actions using action creators, and process those actions with reducers to create new state. Next, you will explore how to handle side effects, such as asynchronous operations, with effects. Finally, you will learn how to architect your Angular applications for scale and performance using the container and presentational component patterns. When you are finished with this course, you will have a foundational knowledge of NgRx that will help you move forward to develop larger or more complex Angular application.
Section Introduction Transcripts
Course Overview
Hey, everyone. My name is Deborah Kurata, ‑and I'm Duncan Hunter. ‑Welcome to our course, Angular NgRx: Getting Started. ‑This course gets you started with NgRx, the powerful library for organizing and managing state and interactions with that state in your Angular applications using the Redux pattern. We look at the three principles of the Redux pattern that NgRx follows and the benefits this brings to your Angular applications, such as state management, performance, tooling, and component communication. ‑Next, we implement the pattern. We define a single store for our application state. We dispatch actions and process those actions with reducers, creating new state. ‑We look at the awesome Redux DevTools browser extension to take your tooling to the next level with time travel debugging. ‑We strongly type our state with interfaces and selectors and strongly type our actions with action creators. We end up with a clear and clean set of actions that the tooling uses to help us better dispatch and process those actions. ‑Then we look at effects to deal with side effects and how these can help keep your components pure and more reusable. We go step by step through how to master these complex but powerful observable streams. Lastly, we explore key architectural considerations, including presentational and container component patterns and taking advantage of Angular's change detection strategy called OnPush. By the end of this course, you'll know the basics of using NgRx and the Redux pattern it implements so you can get started using NgRx in your applications. ‑I hope you'll join us on this journey to learn NgRx with Angular NgRx: Getting Started at Pluralsight.