The state object is defined as a property of the NavigationExtras object passed as the second argument to the navigate or navigateByUrl router’s methods . In addition, you can make use of an attribute directive ([state]=”state object”) if you rely on declarative navigation in your application.
Read moreWhat is state and state management in Angular?
NgRx is a framework developed and maintained by the official Angular team. NgRx stands for Angular Reactive Extensions. In short, it is a state management system based on the Redux pattern . This will help us to manage the application state in a bigger angular application.
Read more