Ji Sungbin
05/25/2022, 5:43 PMcurrentComposer.recomposeScoperecomposeScopeinvalidateStackinvalidateStackinternal val currentRecomposeScope: RecomposeScopeImpl?
    get() = invalidateStack.let {
        if (childrenComposing == 0 && it.isNotEmpty()) it.peek() else null
    }@Composable
private fun Test() {
    val recomposeScope = currentRecomposeScope
    Box(modifier = Modifier.clickable { recomposeScope.invalidate(); println("Invalidate!") })
}Zach Klippenstein (he/him) [MOD]
05/25/2022, 5:53 PMJi Sungbin
05/25/2022, 5:54 PM