~/talk

Litho Best Practices for building efficient UI

Talkat Mobius 2019 Moscow · 2019-12-07..12-08· [android]
links:none on file
slides:none on file

Litho is a Facebook UI framework that actually moves layout and measurement off the main thread using Yoga measures off main thread, generates safe, declarative components via annotations and builders, and renders only lightweight leaf drawables on the UI thread. It uses incremental mount renders only visible leaf nodes to speed scrolling, offers mount spec pooling (image pool default 30, mounts preallocated defaults ~3), supports transition keys and automatic diffs, and integrates with Flipper and an example app — used in large apps and proven to reduce UI jank.

AI-written summary · about

  1. 0:00Introduction to Litho
  2. 1:08What is Litho framework
  3. 3:08Performance challenges in UI
  4. 5:19Litho architecture basics
  5. 7:25Declarative API in Litho
  6. 9:12Building UI components
  7. 11:38Layout measurement process
  8. 14:50Rendering components
  9. 15:53Primitive nodes and specs
  10. 18:38Optimizing layout building
  11. 21:32State management in Litho
  12. 24:24Batching state updates
  13. 27:40Animations in Litho
  14. 30:36Transition animations
  15. 32:01Incremental migration to Litho
  16. 34:36Debugging and preview tools
  17. 36:44Flipper plugin for Litho
  18. 39:56Litho plugins and helpers
  19. 41:44Sample applications
  20. 42:52Key benefits of Litho
  21. 44:58Q&A session
~/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.