Is there any good way to debug why things are reco...
# compose
m
Is there any good way to debug why things are recomposing? I.e. what fields are causing a recomposition to happen.
☝️ 2
b
println
in composable function?
m
Use case: I have a quite big Composable (graph) with a drag listener causing selection to one of the graph entries when swiping on the view. When this happens, I want to recompose just the selection marker (think: a dot drawn on top of the graph), but currently the whole graph is recomposed, which is causing a not so smooth experience. To my best of my knowledge, I have separated the different data needed for each part, so for example the graph axes shouldn’t need to recompose when a new selection happens.
@Big Chungus This unfortunately only shows me when a recomposition happens, not why
👍 1
d
I would also love something for this