useState

open fun useState(block: S.() -> S)

Deprecated

renamed to updateStateImmediate()

Replace with

updateStateImmediate(block)