My UI doesn't redraw when a mutable State that upd...
# compose-desktop
a
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?
a
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
z
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