Recomposition
Jetpack Compose running a composable function again because state it reads has changed.
Definition
In Compose, the UI is produced by calling composable functions. When a State object that a composable read changes, Compose calls that composable again (recomposes it) to produce the updated UI, and skips composables whose inputs didn't change. Values you want to keep across recompositions must be stored with remember.
In practice
Tapping a counter button changes count, so the composable that displays count recomposes and shows the new number.
Learn it in context
Lessons that use this term.