There is something about recomposition that I cann...
# compose
v
There is something about recomposition that I cannot figure from documentation. If recomposition starts from some node, is it guaranteed that it will traverse the whole subtree (i.e. call every function and lambda in it) even if the source of change does not affect some of the paths? Ahh sorry, found the answer https://developer.android.com/jetpack/compose/mental-model#skips
This means it may skip to re-run a single Button’s composable without executing any of the composables above or below it in the UI tree.
đź‘Ť 1
👆 1