~/talk

React Native, The Native Bits

Talkat React Native EU 2017 · 2017-09-06..09-07· [react-native, javascript]
slides:none on file

React Native converts JSX into an imperative stream of UI manager commands, builds a mutable Java shadow tree, mirrors that into native C with Yoga, and then creates far fewer Android views: the example goes from four shadow nodes to three Yoga nodes to two Android view nodes. Yoga is portable C with a measure callback into Java, text measurement takes ~50–60% of layout time, and the native view hierarchy optimizer sometimes de-optimizes to insert views for incremental updates. Yoga in C and 4 languages (JS, Java, C++, C) are involved end to end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:54Native layers overview
  3. 3:15From JSX to native views
  4. 7:56Building shadow tree
  5. 11:56Layout with Yoga engine
  6. 16:32View manager explained
  7. 18:57Native view hierarchy optimizer
  8. 21:46Efficient updates on press
  9. 24:35React diffing in native
  10. 28:29Incremental Yoga calculations
  11. 30:15Q&A
~/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.