~/talk

Tree-shakable Components and Optional NgModules

Talkat ngVikings 2019 · 2019-05-27..05-28· [angular, frontend-architecture]
slides:none on file

Experimental Ivy APIs promise actual tree-shakable components that replace NgModules as the compilation and code-splitting unit, with concrete techniques shown: use of Single Component Angular Modules (SCAMs) today to mimic behavior, explicit change detection control via markDirty / detectChanges, and dynamic loading + bootstrapping through renderComponent. Code samples demonstrate how components list their declarable dependencies, how duplicates are handled, and how lazy loading works without classic NgModule indirection.

AI-written summary · about

  1. 0:00Intro
  2. 3:38Ivy out-of-the-box
  3. 5:23Zoneless change detection with Ivy
  4. 7:37Tree-shakable components are
  5. 9:51Single component Angular modules
  6. 12:09Component render modules
  7. 13:56Feature render modules
  8. 16:04We use Angular modules to
  9. 16:30Bootstrapping tree-shakable components
  10. 17:52Lazy-loading tree-shakable components
  11. 19:02Tree-shakable components with Ivy
  12. 19:42Techniques for getting started today
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.