Component Composition with TypeScript

The components you write with TypeScript are at their best when kept short and simple. However, a short and simple component will hardly make a full-blown app. How do you compose components performing specific tasks and combine them to make a usable application? This is what this chapter is all about. We will discuss the following topics:

  • Component hierarchy
  • Communication between components at different levels

We will also see some hands-on examples on how components are composed and how these composed components communicate with each other.

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.