var value by remember { mutableStateOf(default) } produce error, why?
Solution 1:
Apparently, I have to include these imports
import androidx.compose.runtime.getValue
import androidx.compose.runtime.setValue
The auto imports don't automatically recommend it in the beta Android Studio 4.2
If you use livedata, then consider the below import
import androidx.compose.runtime.livedata.observeAsState