~/talk

The secrets of Shadow Tree and Unistyles 3.0

Talkat React Native Connection 2024 · on Tuesday, 2024-04-23· [react-native, web-performance]
links:none on file
slides:none on file

Unistyles 3.0 moves styling into C++: a hybrid stylesheet (JSI + React Native Nitro) parses styles into C++ pointers with a 1,000‑line C++ parser, tracks up to 15 runtime dependencies, and performs selective shadow-tree updates to change style values without React re-renders. The demo shows surface-level rerender highlighting and switching teams causes no rerenders, with updates applied by mutating cloned shadow nodes via a transaction. It’s beta 8, Fabric/new architecture only, integrates with Reanimated, and can emit CSS for web.

AI-written summary · about

  1. 0:00Introduction to Uni Styles
  2. 1:00Limitations of React Native styling
  3. 3:28Evolution of Uni Styles
  4. 4:53Converting to Uni Styles 3.0
  5. 7:02How Uni Styles works
  6. 13:18Shadow tree updates concept
  7. 15:50Linking styles to views
  8. 17:40Finding shadow nodes
  9. 19:46Accessing shadow tree registry
  10. 21:57Shadow tree commit process
  11. 22:41Demo of selective updates
  12. 23:54Q&A session begins
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.