~/talk

Components, Patterns And Sh*t It’s Hard To Deal With

slides:none on file

Years of code at Shazam and CloudCube using Mustache templates, BEM CSS and React examples produce concrete anti-patterns: class-name injection couples context to component and breaks refactors, dialog modifiers bloat site CSS, and predefined modifiers encourage preventive abstraction. Wrapping divs and spacing helper classes trade clarity for markup bloat, while open components expose an API (example: icon size/width passed by parent) that restores control but increases CSS complexity. No single solution solves every case; choose tradeoffs deliberately.

AI-written summary · about

  1. 0:00Intro
  2. 9:51Class Name Injection
  3. 13:23Predefined Modifier
  4. 13:49Why Modifiers
  5. 14:36Map
  6. 15:04Rethink
  7. 15:54Wrapping divs
  8. 16:39Game intent
  9. 17:34Space relation
  10. 19:10Open Components
  11. 20:03Complexity
  12. 21:57Conclusion
~/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.