If you have worked with the Angular, at sometimes you might have heard the the term NgRx which is angular app State management system.But if you haven't heard of that, you might be wondering what is this state management . So in simple terms it is single place where all the data is stored and is transmitted to the whole app, without manually emitting data through subjects.
At first this seems to be a difficult task as most of us start using and making angular app using services, if your app is small then you might feel not to go with ngRx but as the app grows the data management gets difficult with the services alone so you need to have some centralized store to edit or retrieve the data.
For Angular there is a great state management library called Ngrx which we will be discussing in this as already mentioned in above paras. The main components that make up the ngRx store are:
- Reducers
- Actions
- Effects
