Overview
Dive into a comprehensive exploration of content projection in Angular during this 20-minute conference talk from ng-conf. Learn about basic and targeted projection techniques, understand the concept of ngFarm, and discover how to use ng ProjectAs effectively. Explore cloning and breeding techniques for components, tackle "lifecycle" issues, and gain insights into Blueprints (TemplateRefs) and Portals. Through creative analogies involving sheep, grasp complex concepts in a memorable way. By the end of this talk, acquire valuable knowledge to enhance your Angular development skills and improve your ability to create dynamic, flexible components.
Syllabus
Intro
Let's count sheep!
ngFarm
Basic content projection
Targeted projection
With a container
ng ProjectAs
Cloning sheep (again)
Playing hide and seek
What does
Blueprints, a.k.a TemplateRefs
Breeding sheep
"Lifecycle" issues
Portals
What did we learn?
Taught by
ng-conf