Summary

Now you can start using components as building blocks by writing small, maintainable components and making them interact with each other using composition. In this chapter, you learned what hierarchical inheritance means in component architectures, how data flows up and down hierarchical trees, and how components interact with each other.

In the next chapter, we will explore a more centric interaction strategy using services. This will help us create logic that components will share, hence keeping our codebase very DRY (Don't Reapeat Yourself).

Get TypeScript 2.x for Angular Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.