5 Advanced components
This chapter covers
- How to handle and optimize change detection
- Communication between different components
- Ways to style and different ways styles are encapsulated
- Rendering components dynamically on the fly
Chapter 4 covered many of the basics of components, but there is so much more! Here we’ll dive into additional capabilities that will come in handy as you build more interesting applications.
We’ll look at how change detection works in more detail, and look at how to use the OnPush capability to reduce the amount of work Angular has to do to improve rendering efficiency.
Although components can use inputs and outputs, there are additional ways to have components talk to one another. We’ll look at why you might ...
Get Angular in Action 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.