I wonder if TextField could be improved to have an...
# compose
p
I wonder if TextField could be improved to have an API similar to this
Copy code
val textState by remember { mutableStateOf (TextFieldValue("")) }

textState.onChange { state -> doSomething(state) }

TextField(textState = textState)