~/talk

Deleting Code, with style

links:none on file
slides:none on file

Preact stays a ~3kB framework while adding fragments, component catch, CSS custom properties, hydration and the new createContext by fundamentally changing representation: it compares vnode normalization (two in-memory trees) instead of DOM nodes, converts function components into class instances, and removes heavy optimizations like the component recycler and text-node coalescing. Hooks live as a 900→700 byte addon, arrays auto-wrap in fragments to avoid key clashes, and these changes actually keep builds under ~3.6KB after the new features.

AI-written summary · about

  1. 0:00Intro
  2. 1:48What is localhost
  3. 2:28kilobytes
  4. 3:17React X
  5. 5:15Size difference
  6. 5:53How the hell is this possible
  7. 6:59Familiarity
  8. 7:44Secret tricks
  9. 8:10Architecture
  10. 9:18Side effects
  11. 10:18Apples vs oranges
  12. 11:40What does it mean
  13. 12:35Compare apples to apples
  14. 13:12Compare props to props
  15. 13:27Access a special property
  16. 14:01Type property
  17. 14:14Simplification
  18. 14:45Code branches
  19. 16:00Function components
  20. 17:21Data normalization
  21. 17:56Component recycler
  22. 18:52Stepbystep
  23. 19:12Component summary
  24. 19:27Deleting DOM nodes
  25. 22:48Key optimization
  26. 24:28Arrays
  27. 28:30What can we save
  28. 29:50Where to save
  29. 30:44Context API
  30. 32:00Code coughing
  31. 33:22Gzip compression
  32. 34:01Reuse variables
  33. 35:09classes
  34. 36:31ref
  35. 37:49Summary
  36. 39:10normalization
  37. 39:29simple
  38. 39:59outro
~/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.