In compose multiplatform projects, since now scree...
# decompose
d
In compose multiplatform projects, since now screens will take up
ScreenComponent
instead of viewmodels, what happens to the stability of compose functions. I assume there would be unnecessary recompositions since composable functions would be marked unstable since they have an unstable parameter (instance of class extending
ComponentContext
. How did you guys solve this?
a
d
Thank you @Arkadii Ivanov
s
By the way, the compose compiler now supports an experimental strong skipping mode that uses
equals()
to decide if unstable parameters should trigger recomposition. I've been testing it for a while and it's solved most problems with unwanted recomposition with no issues (yet).
🔥 2
a
Thanks for sharing!
d
Very 🆒😎