updateHookStateSync

fun updateHookStateSync(globalKey: String, updater: HookUpdater, attribution: String, isLayoutState: Boolean)

Same as updateStateSync but for Hook State.