~/talk

Horror Stories From Hacking the DOM Into a Native Platform

Talkat React Boston 2018 · on Saturday, 2018-09-29· [react-native, web-platform, webassembly]
slides:none on file

An experimental port called React Native DOM runs JS in a worker and renders with raw DOM; concrete takeaways include a history buffer push hack to trap Android back presses by repeatedly pushing popstate entries, an SVG filter tinting workaround that regenerates filters to emulate Image tintColor (Chrome/Firefox only, Safari needs filter before image), and the pain of compiling Yoga to WebAssembly forcing async module-loading changes. Layout animations use an inverse-scale child container and per-frame keyframes to avoid child distortion; most hacks work but some browsers remain broken.

AI-written summary · about

  1. 0:00Intro
  2. 1:00What is React Native DOM
  3. 5:22React Native Demo
  4. 7:10Back Handler
  5. 10:00PushState
  6. 13:30TintColor
  7. 17:20SVG Generation Code
  8. 20:15WebAssembly
  9. 28:10Layout Animations
~/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.