But it's actually weird, signature of setState is ...
# react
f
But it's actually weird, signature of setState is
fun <S : RState> React.Component<*, S>.setState(buildState: S.() -> Unit)