Summary

Hopefully, the advanced topics discussed were not so complex or difficult to comprehend. You learned how to implement lifecycle hooks, control the behavior of component-scoped styles, and manipulate the DOM content after it has been rendered.

If you take only one thing from this chapter, let it be how to implement the lifecycle interfaces with TypeScript and using TypeScript decorators to configure a component. In the next chapter, you will learn about component communication and how components interact with each other via properties, events, view children, and content children.

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.