Jetpack Compose Internals Pdf //top\\ Download New ❲RELIABLE • FULL REVIEW❳
Do not read state in the composition phase if it is only needed for layout or drawing. Pass a lambda instead. For example, use Modifier.offset IntOffset(0, state.value) instead of Modifier.offset(0.dp, state.value.dp) . This bypasses the composition phase completely when the state changes.