title: Compose and UiState
body: <p>In compose the idea is to maintain composable state via UiState. Composable is recomposed every time UiState is updated. However, in some cases we can't update composable with recomposition, instead, we need to make a call. For example, with <code>ModalBottomSheetLayout</code>, to expand/collapse, I don't trigger recomposition, but call state object like so:</p>
  <pre><code>scope.launch {
      modalBottomSheetState.animateTo(ModalBottomSheetValue.Expanded)
  }
  </code></pre>
  <p>Say I want to maintain bottom sheet state via UiState rather than these calls. Is that possible? I'm asking about bottom sheet as an example, but I think this is a question that can be applied to other composable components.</p>