~/talk

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

Talkat jsDay 2018 · on Thursday, 2018-05-10· [react, frontend-architecture]
slides:none on file

Airbnb claims a practical path to RTL after supporting 27 languages in 2017 by moving to React and CSS-in-JS and building a middleware that flips styles at create and resolve time so components need no manual rewrites except a scripted codemod. Implementation uses react-with-styles as an abstraction, Aphrodite + rtl-css-js plugins to emit flipped CSS and convert dynamic inline styles, a contextual create/resolve to avoid server/client mismatch, and a small team of two and a half engineers that mostly succeeds for Arabic and Hebrew.

AI-written summary · about

  1. 0:00Start
  2. 8:10Bi-Directional Inputs
  3. 9:38Summary
  4. 10:50Html Dare Attribute
  5. 14:15Context Aware Icon
  6. 16:17Automated Options
  7. 18:25Compile Time
  8. 20:32React with Styles
  9. 22:44Dynamic Styles on the Fly
  10. 24:23Requirements
  11. 27:14Fancy Selectors
  12. 30:36Dynamic Styles
  13. 35:00Contextual Create and Resolve Methods Based on Direction
  14. 38:26Open Source Projects
~/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.