Hey, any idea on how to approach debugging why a composable doesn't get recomposed?
I've refactored my code slightly and now it no longer recomposes a part of the UI for seemingly no reason. Another part does get properly updated though.
Fudge
08/11/2021, 6:06 PM
OK! It turned out it happened because I used a method reference (
obj::doThing
) instead of a method call (
obj.Thing()
). Horrible! that such a frustrating and simple bug can happen in a release product.
k
Kirill Grouchnikov
08/11/2021, 7:32 PM
The best to have even the seemingly "simplest" bugs is to file them in the project bug tracker, with a small, self-contained sample.