~/talk

Towards a simpler JavaScript ecosystem

Talkat JSHeroes 2023 · 2023-05-18..05-19· [frontend-architecture, javascript]
slides:none on file

Claims that a Create React App can run without bundlers or transpilation get demonstrated: a live demo shows edit and F5 refreshes working, JSX handled with HTM, npm packages resolved via import maps plus on-the-fly CJS→ESM conversion by esm.sh, and TypeScript avoided with JSDoc or the stage proposal for type annotations. Production needs minification or selective bundling, but HTTP/3 + module preload and 103 Early Hints let many-module deployment perform acceptably and was used at Round Forest.

AI-written summary · about

  1. 0:00Start
  2. 5:02We need modules, but browsers don't support it
  3. 6:33there is a build step!
  4. 7:23debugging becomes difficult
  5. 7:45any project generates incomprehensible configs
  6. 11:07Browsers support ESM!
  7. 11:23Step #1: convert local modules by adding full path
  8. 13:50Final Import Maps
  9. 22:55#1: every deploy invalidates the browser code cache
  10. 23:57Parallel Loading!
  11. 26:35103 Early Hints
~/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.