~/talk

Do the Right (to Left) Thing Directional Content in React

Talkat ReactEurope 2018 · on Thursday, 2018-05-17· [react, web-platform]
slides:none on file

Airbnb moves from Sass to CSS-in-JS and builds a pragmatic RTL system that actually flips styles and icons across browsers while minimizing work for ~600 product engineers. Implementation uses Aphrodite plus an abstraction layer react with styles and a direction context via react wa direction, performing create-time and resolve-time flips (runtime for inline styles) with RTL CSS transformation. Result claims near-launch support for Arabic and Hebrew and earlier launch of Croatian with little product disruption.

AI-written summary · about

  1. 0:00Start
  2. 8:33Summary
  3. 12:16Direction Context-Aware Icon
  4. 14:16Style Modular React Components
  5. 14:59Compile Time
  6. 16:22React with Styles
  7. 18:45Requirements
  8. 20:37Custom Style Selectors
  9. 21:24Pseudo Selectors
~/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.