canSkipStateUpdate

fun <T> canSkipStateUpdate(globalKey: String, hookStateIndex: Int, newValue: T, isNestedTree: Boolean): Boolean
fun <T> canSkipStateUpdate(updater: (T) -> T, globalKey: String, hookStateIndex: Int, isNestedTree: Boolean): Boolean