Ji Sungbin
currentComposer.recomposeScope
recomposeScope
invalidateStack
internal 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]
A modern programming language that makes developers happier.