~/talk

React architecture in Product Hunt

Talkat React Alicante 2019 · 2019-09-26..09-28· [react, typescript]

Product Hunt runs React for 4+ years with a small team and a gradual migration off Rails, using SSR, Apollo and generated TypeScript types from GraphQL so queries produce accurate types. Components live in directory-per-component with component-level fragments and local CSS that compiles to safe class names. Pages map to URL folders, a page lifecycle handles loading/authorization, and a centralized form/mutation shape returns a consistent node result. Several migrations are underway and much of this is already running in production.

AI-written summary · about

  1. 0:00Intro
  2. 7:14Directory structure
  3. 10:52Hooks
  4. 12:30Functions
  5. 14:14dependencies
  6. 15:55structure
  7. 17:20class
  8. 22:02universal structure
  9. 24:53team structure
  10. 28:01powerups
  11. 29:58button
  12. 30:38main component
  13. 31:56folder structure
  14. 32:38page system
  15. 35:00route system
  16. 36:25pages
  17. 40:51recap
~/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.