Component composability

Composability is the most outstanding feature and the selling point of components. As a matter of fact, this is what makes components what they are. Not just on the web but whenever an entity is referred to as a component, then it has a tendency to be composed with other components.

While some components can function on their own, most depend implicitly or explicitly on other stand-alone components to achieve a given task. TypeScript and templates greatly simplify composition in Angular, enabling it to put the pieces of our app together in a seamless and an easy-to-maintain way.

Composition happens hierarchically; hence, most component relationships are either parent-to-child or child-to-parent. It is also important ...

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.