Sergey Y.
02/18/2021, 10:41 PMMerged
.
Does this tell us we will have multithreaded composition soon? โบ๏ธArkadii Ivanov
02/18/2021, 11:12 PMArkadii Ivanov
02/18/2021, 11:17 PMjim
02/18/2021, 11:24 PMSergey Y.
02/18/2021, 11:24 PMArkadii Ivanov
02/18/2021, 11:34 PMSergey Y.
02/18/2021, 11:35 PMArkadii Ivanov
02/18/2021, 11:38 PMArkadii Ivanov
02/18/2021, 11:39 PMSergey Y.
02/18/2021, 11:43 PMArkadii Ivanov
02/18/2021, 11:46 PMSergey Y.
02/19/2021, 12:00 AMjim
02/19/2021, 12:02 AMArkadii Ivanov
02/19/2021, 12:14 AMonCleared
method. There is moko-mvvm
and others.
Looking forward for multi-threaded composition, but also hope there will be a way to remember
on main thread.Adam Powell
02/19/2021, 1:09 AM*Effect
APIs will continue to meet those expectations. We currently have no plans for a main thread-restricted remember
, you'll need to remember
a wrapper object that performs any main thread initialization either via DisposableEffect
or by implementing RememberObserver
.Adam Powell
02/19/2021, 1:13 AMby mutableStateOf
to back your ViewModel object properties also gives them a baseline of thread safety for composition, as composition always occurs in a snapshot that won't be modified by another thread during that composition.Colton Idle
02/19/2021, 5:39 PMAdam Powell
02/19/2021, 5:56 PMAdam Powell
02/19/2021, 5:58 PM