Djuro
01/08/2024, 12:11 PMScreenComponent
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?Arkadii Ivanov
01/08/2024, 12:14 PMArkadii Ivanov
01/08/2024, 12:17 PMDjuro
01/08/2024, 12:44 PMs3rius
01/11/2024, 7:56 PMequals()
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).Arkadii Ivanov
01/11/2024, 8:04 PMDjuro
01/11/2024, 8:21 PM