Minimal notes from Nir Kaufman’s talk.
There Is No DOM
- Angular provides an abstraction on the DOM
- creates a “View” object from a (TypeScript) class and a template file
- Embedded views are linked to a template
- Host views are linked to a component
- Angular creates a view hierarchy: the DOM hierarchy can be different!
View Manipulation
- Structure manipulation:
ViewContainer
API - Property modification:
Renderer2
API
Links
- Angular Portal GitHub repository
- [Nir Kaufman - Angular DOM Manipulation Techniques in Dept | JS VidCon](https://javascript-conference.com/angular/angular-dom-manipulation-in-depth/