```Hello, very good, I have been creating an app i...
# compose
g
Copy code
Hello, very good, I have been creating an app in compose for a while, and the issue of recompositions continues to be an enigma for me, I do absolutely nothing to recompose the UI but even so, in the Layout Inspector, I can see the recompositions that ago and I can't make any sense of it, could someone help me know how I find what makes it come back together?
d
Recompositions aren't necessarily bad, do you have an actual performance problem? Or do you have an isolated example that recomposes more than you think it should?
☝️ 1
g
I have an example that recomposes more than it should and I know what it is, but if I try to put a value from the UI into the VM and try to use it in there maybe it would reduce the recompositions. How could I enter a UI value in the ViewModel to manage it from there?
🧵 1
d
https://developer.android.com/codelabs/basic-android-kotlin-compose-viewmodel-and-state I'm assuming you mean Android ViewModel, you could start here.