In this blogpost I want to give you an explanation of the state tree of ngrx if you are working with a state and how to separate it into different modules.
If you are building smaller or large angular applications you will sooner or later face the problem to manage the state of your application. It gets influenced by a lot of things around which can be a simple buttons triggering a service - maybe with an http action - which will set your application in a different state.
Let’s take a state object for the whole application:
[…]