Most Compose developers learn one rule early: if a composable only needs to react to a threshold or a condition on fast-changing state, wrap that condition in derivedStateOf .