https://kotlinlang.org logo
#compose
Title
# compose
b

bnvinay92

10/09/2023, 7:26 PM
I have a flow that sits in my activity which emits a data structure (wrapped in State<>) representing the entire screen. Every user action causes this flow to emit a new emission. It looks like this makes the top level composable the restartable scope, and so all parameters on all Composables are diffed always (even if something only changes in a leaf composable). Is there anyway to avoid this?