Summary

Review sharing data between components.

In this chapter, we explained the motivation behind sharing data between components and learned how to implement it in a reactive way. We learned how we can use BehaviorSubject combined with AngularServices to share data between unrelated components and manage our application state. Finally, we went through the alternatives of state management for more complex scenarios. This will help you put in place a good architecture for your web application, which will make it more reactive and performant and reduce the cost of maintainability.

The following are some of the key concepts discussed in this chapter:

Get hands-on with 1200+ tech skills courses.