Mastering Recompositions in Compose
summary
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
