My UI doesn't redraw when a mutable State that updates a derivedStateOf (which itself is used in drawing the UI) is updated. How can I debug that sort of thing? Is there a way to visualize the dependencies inferred by the compose compiler?
Arjan van Wieringen
02/15/2023, 6:55 AM
The chance of this case being a compose compiler bug is minimal. I’d first check if you haven’t out remembers where they shouldn’t or forgot dependencies in those remembers
Zach Klippenstein (he/him) [MOD]
02/15/2023, 5:41 PM
One way to debug is to manually register a snapshot apply listener and check the state objects that are reported when the snapshot that includes your changes is applied