~/talk

It’s alive! Dynamic components in Angular

Talkat NG Poland 2018 · on Friday, 2018-11-16· [angular, frontend-architecture]
slides:none on file

Runtime selection of actual component instances replaces huge ngSwitch templates by resolving factories with ComponentFactoryResolver or directly inserting via ViewContainerRef.createComponent, and lazy-loading separate lazy-loaded NgModule bundles so only needed component code ships. Demo shows dynamically added widgets with working change detection, reachable inputs and output subscriptions; notes lifecycle caveat (ngOnChanges not auto-run for raw instance members). Also mentions Angular Elements and upcoming Ivy as alternative simplifications.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Demonstrating the concept
  3. 4:13Static vs. dynamic components
  4. 8:28Use cases and applications
  5. 12:24Angular instantiation logic
  6. 13:57Implementing basic dynamics
  7. 17:03Lazy loading and plugins
  8. 20:41Conclusion and resources
~/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.