~/talk

What does Recomposition mean to your app?

Talkat droidcon New York 2022 · 2022-09-01..09-02· [android, frontend-architecture]
slides:none on file

Explains exactly how recomposition runs: the slot table, composer and change list record diffs, the state snapshot system wakes a recomposer, and an applier batches layout and draw; shows a real compiler-metrics output example (e.g. 64 skippable vs 76 restartable → 12 unexpected restarts). Covers tools: compiler metrics (JSON), recompose highlighter and a logging modifier (noisy), and Android Studio Electric Eel’s recompose counter (works on Compose 1.2 alpha+3). Gives concrete fixes: break down composables, use keys, defer reads, derivedStateOf, val and immutable collections.

AI-written summary · about

  1. 0:00Introduction to recomposition
  2. 1:18Jetpack Compose fundamentals
  3. 5:37Composition phases explained
  4. 14:57Slot table and applier
  5. 22:28What is recomposition
  6. 24:34Triggering recomposition
  7. 28:14Smart recomposition rules
  8. 32:13Debugging recomposition tools
  9. 37:54Practical optimization tips
  10. 47:26Summary and best practices
~/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.