however, the `setState(handler: S.() -> Unit)` ...
# javascript
g
however, the
setState(handler: S.() -> Unit)
function in the react kotlin wrapper takes an extension function on the state object