~/talk

ESM: EcmaScript Modules in browser and NodeJS. It's about time!

TalkinFrenchat Devfest Lille 2018 · on Thursday, 2018-06-21· [javascript, nodejs]
slides:none on file

Covers how ECMAScript modules are now usable in modern browsers and Node.js but still impose concrete frictions: browsers are ~99% compatible yet require dual code paths via type="module" vs nomodule, browser imports need explicit .js extensions, and default exports create naming/alias pitfalls. Describes migration patterns from RequireJS/CommonJS using TypeScript transpilation and bundlers (Webpack, Rollup) to produce both module and legacy bundles, and demonstrates a small Express router/singleton example with live demos that illustrate the practical tradeoffs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05JavaScript modules history
  3. 2:15Pre-ESM module systems
  4. 3:37ECMAScript Modules (ESM)
  5. 4:02TypeScript demo
  6. 16:09Browser module usage
  7. 26:55Express ESM app demo
  8. 39:00Module compatibility
  9. 46:32Conclusion
~/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.