~/talk

Master Tooling by Hacking the Angular Compiler

Talkat NG-BE 2019 · 2019-12-05..12-06· [angular, typescript]
slides:none on file

Shows how to implement a custom template syntax by actually changing the build: use a custom HTML loader plus a webpack plugin (via ngx-build-plus) to set directTemplateLoading=false and replace the Angular compiler plugin, and add a TypeScript transformer to rewrite inline templates. Demonstration partially reimplements ngx-template-streams and successfully handles external and inline templates in JIT builds; AOT/production needs additional transforms and compatibility work, so it works but with known limits.

AI-written summary · about

  1. 0:00Introduction
  2. 0:34Story Time
  3. 2:07Abstract Syntax Trees
  4. 2:42Tools
  5. 3:38About Dominic
  6. 5:10NGX Templates Streams
  7. 12:45Custom Template Syntax
  8. 17:51Inline Templates
  9. 18:19Transformer
  10. 24:51Key takeaways
~/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.