Why JS is Coming to Ember Templates
summary
Claims that templates will accept ES module imports so components are referenced statically, not by runtime resolver; demonstrates micro-lib examples, bundling with rollup and terser, and how static imports let bundlers drop unused components. Proposes strict mode templates (RFC 496) with a preamble for template Imports that compile into closed‑over values, and points to embroider and a simple migration path via an add‑on primitive for early testing.
AI-written summary · about
chapters (6)
- 0:00Start
- 9:28Strict Template Mode
- 10:51Handlebar's Strict Mode Template
- 11:47Strict Mode Template
- 14:32Imports
- 15:46Next Steps in the Process of Delivering Template Imports
related talks
35mThe Future Of Templating In Ember
32mThe Importance of import and export
43mKeynote Part 1
08mIntroducing Template Imports
40mEmber's Technical Foundations – And How They Are Changing
34mGetting Started with 'template' Tag Components
34mTowards a simpler JavaScript ecosystem
32mThe Future of Ember Templating
