Setting Up the Initial States

Learn how to define and organize the initial states of an Angular module.

Introduction

While working with NgRx, we should decide carefully which states are we going to keep in the store. If we put unnecessary data in the store, our application performance may degrade. We also need to define the initial values of our selected states. When our application bootstraps for the first time, NgRx will use these initial values to create our store.

Get hands-on with 1200+ tech skills courses.