Hey, any idea on how to approach debugging why a c...
# compose
f
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.
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
The best to have even the seemingly "simplest" bugs is to file them in the project bug tracker, with a small, self-contained sample.