Robert Jaros
03/13/2024, 9:51 AMRobert Jaros
03/13/2024, 9:52 AMRobert Jaros
03/13/2024, 9:54 AMRobert Jaros
03/13/2024, 9:57 AMRobert Jaros
03/13/2024, 11:26 AMZach Klippenstein (he/him) [MOD]
03/13/2024, 2:51 PMRobert Jaros
03/14/2024, 9:09 AMMutableState
instances and execution of composable functions subscribed to this state on every recomposition. The state was created with the remember
function, but the composables were continuously removed and added to the composition, so remember
didn't help. The strange thing, I'm not sure I understand, is what should happen to the state object and all subscriptions when composable leaves the composition. I think it should be canceled and disposed, and at the first look it was happening (the composable functions were not executed). But with a great number of recompositions the performance was degrading, as if compose was still referencing those "disposed" state objects and processing them somehow.Zach Klippenstein (he/him) [MOD]
03/14/2024, 4:34 PMRobert Jaros
03/14/2024, 4:44 PMZach Klippenstein (he/him) [MOD]
03/14/2024, 4:50 PMZach Klippenstein (he/him) [MOD]
03/14/2024, 4:51 PMRobert Jaros
03/14/2024, 4:56 PM