4
Components and Pages
The main building blocks of an Angular application are the components. It is by using them that we assemble our user interfaces and define the flow of the experience. In Angular architecture, components organize an application into reusable parts, making it easy to maintain and scale.
In this chapter, we will explore the communication between components and thus assemble our pages using component composition, avoiding the anti-pattern of creating monolithic interfaces.
In this chapter, we’re going to cover the following topics:
- Creating components
- Communication between components – inputs and outputs
- Best practice – using the TrackBy property
- Separating responsibilities – smart and presentation components
- Communication ...
Get Angular Design Patterns and Best Practices now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.