If I have a single (complex) state in a VM and I observe it from my Composable: all the views that observes any property of this state will always be recomposed on any emission or compose somehow is capable to discover that only a single piece of that state changed (with some sort of diff)? I'm not sure how to debug a recomposition, tips are welcomed! 🤔
12/01/2021, 2:03 PM
My understanding is the function uses the state object will be recomposed, but if you pass parts of the state to other composable functions, those will only be called if the arguments to them changed.