updateHookStateAsync

fun updateHookStateAsync(stateId: StateId, updater: HookUpdater, attribution: String, isLayoutState: Boolean)

Same as updateStateAsync but for Hook State.