Plugging It All Together

Let's update the application to talk to this new state store.

Updating the Root module

Before you modify any components or services, you need to register ngrx and the reducer you created with the root module. Let’s open app.module.ts and make the following modifications:

Get hands-on with 1400+ tech skills courses.