~/talk

Mastering Recompositions in Compose

Talkat Codemotion Madrid 2024 · 2024-05-21..05-22· [android]
links:none on file
slides:none on file

Explains that recomposition is Compose repainting and that stability decides whether a composable can skip recomposition: primitives, strings, lambdas and immutable vals are stable; collections, vars and classes from modules without the Compose compiler are unstable. Recommends using Layout Inspector and stability reports to find hot spots, then fixes: wrapper classes, stability config file, @Stable, remember or function references for lambdas, keys for LazyColumn, derivedStateOf, lambdas in modifiers. Notes upcoming strong skipping mode (compiler 1.54+, runtime 1.70+ beta).

AI-written summary · about

  1. 0:00Introduction to Compose
  2. 1:05How Compose works
  3. 7:33Composition phases explained
  4. 11:07Recomposition lifecycle
  5. 14:20Stability concept in Compose
  6. 22:32Debugging recompositions
  7. 28:17Common problems and solutions
  8. 41:52Future of recompositions
~/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.