As in https://developer.android.com/jetpack/compose/side-effects, we have derivedStateOf which helps prevent unnecessary Recomposition.
With that, it makes me think, should we always use derivedStateOf instead of remember(value) as below?
// Instead of using
remember(value1) { ... }
// Use
remember { derivedStateOf {value1} }
Doing so will also ensure we don't recompose the function that contains the mutableState, but just all the composable functions using that mutableState.
Is there any downside of using derivedStateOf as opposed to remember(value)?
