~/talk

Ivy Is Coming!

Talkat AngularUP 2019 · on Wednesday, 2019-06-12· [angular, frontend-architecture]
slides:none on file

Ivy in Angular 8 runs opt‑in via enableIvy in tsconfig and cuts a real example app’s main bundle by about ~50% bundle reduction (roughly 500KB → ~250KB) by changing generated code into static, tree‑shakable instructions. Using ngc output shows factories move into component statics, compiler output shrinks, template errors become informative, and compilation speeds improve. The demo loads components with ES6 import() and dynamic component loading via import()+renderComponent, fixes injector scoping by passing an Injector, and even prototypes HOC‑like component wrapper using private APIs, which works but is experimental.

AI-written summary · about

  1. 0:00Introduction and Angular IV
  2. 1:57What is Ivy and its benefits
  3. 3:26Bundle size reduction with Ivy
  4. 5:38Ivy compiler internals
  5. 8:04Tree shaking in Angular
  6. 9:31Better debugging with Ivy
  7. 10:14Dynamic component loading
  8. 15:28Dynamic components without modules
  9. 18:07Advanced Ivy features
  10. 23:51Summary and future of Ivy
~/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.