Simple play icon Course

NgRx Fundamentals

by Duncan Hunter

NgRx is a powerful library for managing state and interactions in your Angular applications. This course gets you started with NgRx, including store, actions, reducers, selectors, effects, entity adapter, router store, and component store.

What you'll learn

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, NgRx Fundamentals, you will learn the most important fundamentals, best practices, and often overlooked common scenarios you need to know to get up and running quickly with NgRx. 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. Then, you'll see how to use Entity Adapter for managing collections and Router Store for listening to the state of the router. Finally, you will learn about Component Store to manage local state. 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 applications.

About the author

Duncan works as an Australian software consultant, founder of Foodzone, Pluralsight author who travels the world speaking at events and training technology professionals. Duncan is an Angular expert and divides his time with between training and upskilling teams to implement best practices with Angular, growing Foodzone and working for clients writing code.

Ready to upskill? Get started