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
dorche
01/17/2024, 5:57 PM
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
Gonzalo Renedo
01/17/2024, 7:30 PM
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?