~/talk

Building the New Facebook with React and Relay

Talkat React Conf 2019 · 2019-10-24..10-25· [react, graphql, frontend-architecture]
slides:none on file

Rebuilds facebook.com as a single-page app using React and Relay, co-locating GraphQL queries and components and adding a custom CSS-in-JS system that emits atomic CSS, inlines SVGs as React components, converts pixel design units to REMs for accessibility, and uses CSS variables for theming. Build-time optimization deduplicates rules so global CSS drops from about 400 kilobytes to 74 kilobytes, enabling dark mode, fewer runtime costs, and smoother app-like interactions.

AI-written summary · about

  1. 0:00Intro
  2. 0:17Welcome
  3. 3:40Our Library
  4. 5:55Dark Mode
  5. 7:11Monochrome Icons
  6. 8:16Accessibility
  7. 8:46Fonts
  8. 10:06Runtime checks
  9. 11:20Atomic CSS
  10. 12:44Deduplication
~/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.