https://kotlinlang.org logo
d

Denis Sakhapov

11/12/2020, 3:22 AM
androidx.compose.runtime.stateFor
has been removed in
alpha07
. What is the replacement for that?
Is it safe to assume that
Copy code
var foo by stateFor(v) { value }
and
Copy code
var foo by remember(v) { mutableStateOf(value) }
are essentially the same?
👌 1
l

Leland Richardson [G]

11/12/2020, 3:43 AM
yes, exactly
❤️ 1
d

Denis Sakhapov

11/12/2020, 3:44 AM
Got it, thank you!