~/talk

Architecting A Component Compiler

Talkat dotJS 2019 · 2019-12-05..12-06· [typescript, web-platform]
slides:none on file

A component compiler generates framework‑agnostic web components from one source and proves it with numbers and artifacts not promises. It uses TypeScript custom transformers and Rollup to statically analyze and tree‑shake code, converts functions to arrow form, adds build conditionals, and emits ES modules, ES5/SystemJS bundles, framework bindings for Angular and React, and a Node hydrate file. Small outputs show it works: a hello world at 87 bytes, a TODO MVC at 2.2 KB, Ionic usage hits 0.5M and 1M monthly downloads.

AI-written summary · about

  1. 0:00Intro
  2. 0:27Choose what's best for your team
  3. 1:02An organization of teams and projects and teams and projects
  4. 1:29Innovation waits for no one
  5. 2:22Choose one component model
  6. 3:57Common component model
  7. 4:31Application architecture
  8. 5:23Stencil Compiler
  9. 5:54TypeScript custom transformers
  10. 6:49Build conditionals and dead code removal
  11. 7:20Optimizing for minification
  12. 9:55Component-level graph analysis
  13. 10:35Native Module Preloading
  14. 12:39@ionic/angular
  15. 14:32lonic Angular Universal
~/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.