---
title: "MutableState"
description: "A mutable value holder where reads to the [value] property during the execution of a [Composable]
function, the current [RecomposeScope] will be subscribed to changes of that value. When the
[value] property is written to and changed, a recomposition of any subscribed [RecomposeScope]s
will be scheduled. If [value] is written to with the same value, no recompositions will be
scheduled."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
public interface MutableState<T> : State<T>
```


A mutable value holder where reads to the `value` property during the execution of a `Composable`
function, the current `RecomposeScope` will be subscribed to changes of that value. When the
`value` property is written to and changed, a recomposition of any subscribed `RecomposeScope`s
will be scheduled. If `value` is written to with the same value, no recompositions will be
scheduled.


## Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
override var value: T
```


## Functions

```kotlin
public operator fun component1(): T
```

```kotlin
public operator fun component2(): (T) -> Unit
```


