~/talk

Modules are not what you think they are

Talkat NGConf 2018 · on Wednesday, 2018-04-18· [angular, frontend-architecture]
links:none on file
slides:none on file

Claim: Angular modules compile into a single factory/injector so imported modules merge providers and there is no runtime module hierarchy. Process shown: load module class, compile to a module factory (AOT optional), call create to get module instance and injector, read widgets via a widgets provider token, resolve and render components with ComponentFactoryResolver. Built a diagram-designer extension system that loads third-party widget modules lazily and it works; router code served as the blueprint.

AI-written summary · about

  1. 0:00Intro
  2. 0:55Angular modules are confusing
  3. 1:52You will learn
  4. 2:28Application as platform
  5. 2:57Platform & extensions
  6. 3:49Challenges
  7. 5:21Difficult challenge?
  8. 6:17Router implementation
  9. 7:31Module factory
  10. 8:21Module & injector instance
  11. 9:11Modules to injectors
  12. 9:40Imported modules & factories
  13. 10:50No more confusions
  14. 11:52Loading widgets
  15. 13:12Providing widgets
  16. 14:22Loading and rendering widgets
  17. 15:59Feeling stuck?
  18. 16:45Useful 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.