~/talk

John-David Dalton - SeattleJS Conference 2017

slides:none on file

A new ES module loader for Node 4+ implements import/export support and live bindings, does on-the-fly fast transpilation with caching, and ships as a ~40KB zero-dependency package (v0.2). Demos show a Hello World load and a live-binding example where one module resets a value and another adds to it, proving bindings update across modules. Features include CJS compatibility flags, unambiguous JS detection or source pragmas, optional syntax extensions, and gzipped modules that shrink lodash from 4.5MB to ~90KB.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42Why native ES modules matter
  3. 2:51CommonJS under the hood
  4. 3:57ESM syntax and browser support
  5. 5:02Node’s .mjs extension debate
  6. 6:11ESM loader for Node 4+
  7. 7:17Live bindings and JSS support
  8. 8:46Unambiguous JavaScript grammar
  9. 9:49Gzipped module loading
  10. 11:40Syntax extensions for imports/exports
  11. 13:47Environment variables and require
  12. 15:38Compatibility and defaults
  13. 17:26Demo time and setup
  14. 19:12Hello world with ESM loader
  15. 21:04Live binding demo
  16. 22:31Implementation details
  17. 24:16Performance and package size
  18. 25:43Security and stability
  19. 27:31Hiding module internals
  20. 29:20Q&A and resources
~/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.