Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Manage Data in the ngrx Store through a Reducer in Angular

    angularAngular
    ^7.0.3

    The ngrx store is responsible for storing application state while the reducer is responsible for managing how it that state manipulated. In this lesson, we are going to build out the feature reducer to handle basic operations like select, create, update, and delete. We will discuss how actions flow into a reducer and how operations in the reducer must be immutable. From there, we will replace the service calls within our feature component to dispatch the equivalent action objects for consumption within our reducer.