Mastodon hachyterm.io

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