7
7
* @noflow
8
8
* @nolint
9
9
* @preventMunge
10
- * @generated SignedSource<<968b9a9a87595c8009c33efb698508af >>
10
+ * @generated SignedSource<<c196c39a8657ac593b26ca40d9fedf8b >>
11
11
*/
12
12
13
13
'use strict';
@@ -8299,6 +8299,7 @@ function entangleTransitionUpdate(root, queue, lane) {
8299
8299
8300
8300
var ContextOnlyDispatcher = {
8301
8301
readContext: readContext,
8302
+ use: use,
8302
8303
useCallback: throwInvalidHookError,
8303
8304
useContext: throwInvalidHookError,
8304
8305
useEffect: throwInvalidHookError,
@@ -8321,10 +8322,6 @@ var ContextOnlyDispatcher = {
8321
8322
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
8322
8323
}
8323
8324
8324
- {
8325
- ContextOnlyDispatcher.use = throwInvalidHookError;
8326
- }
8327
-
8328
8325
var HooksDispatcherOnMountInDEV = null;
8329
8326
var HooksDispatcherOnMountWithHookTypesInDEV = null;
8330
8327
var HooksDispatcherOnUpdateInDEV = null;
@@ -8356,6 +8353,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
8356
8353
readContext: function (context) {
8357
8354
return readContext(context);
8358
8355
},
8356
+ use: use,
8359
8357
useCallback: function (callback, deps) {
8360
8358
currentHookNameInDev = "useCallback";
8361
8359
mountHookTypesDev();
@@ -8476,14 +8474,11 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
8476
8474
};
8477
8475
}
8478
8476
8479
- {
8480
- HooksDispatcherOnMountInDEV.use = use;
8481
- }
8482
-
8483
8477
HooksDispatcherOnMountWithHookTypesInDEV = {
8484
8478
readContext: function (context) {
8485
8479
return readContext(context);
8486
8480
},
8481
+ use: use,
8487
8482
useCallback: function (callback, deps) {
8488
8483
currentHookNameInDev = "useCallback";
8489
8484
updateHookTypesDev();
@@ -8599,14 +8594,11 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
8599
8594
};
8600
8595
}
8601
8596
8602
- {
8603
- HooksDispatcherOnMountWithHookTypesInDEV.use = use;
8604
- }
8605
-
8606
8597
HooksDispatcherOnUpdateInDEV = {
8607
8598
readContext: function (context) {
8608
8599
return readContext(context);
8609
8600
},
8601
+ use: use,
8610
8602
useCallback: function (callback, deps) {
8611
8603
currentHookNameInDev = "useCallback";
8612
8604
updateHookTypesDev();
@@ -8721,14 +8713,11 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
8721
8713
};
8722
8714
}
8723
8715
8724
- {
8725
- HooksDispatcherOnUpdateInDEV.use = use;
8726
- }
8727
-
8728
8716
HooksDispatcherOnRerenderInDEV = {
8729
8717
readContext: function (context) {
8730
8718
return readContext(context);
8731
8719
},
8720
+ use: use,
8732
8721
useCallback: function (callback, deps) {
8733
8722
currentHookNameInDev = "useCallback";
8734
8723
updateHookTypesDev();
@@ -8844,15 +8833,15 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
8844
8833
};
8845
8834
}
8846
8835
8847
- {
8848
- HooksDispatcherOnRerenderInDEV.use = use;
8849
- }
8850
-
8851
8836
InvalidNestedHooksDispatcherOnMountInDEV = {
8852
8837
readContext: function (context) {
8853
8838
warnInvalidContextAccess();
8854
8839
return readContext(context);
8855
8840
},
8841
+ use: function (usable) {
8842
+ warnInvalidHookAccess();
8843
+ return use(usable);
8844
+ },
8856
8845
useCallback: function (callback, deps) {
8857
8846
currentHookNameInDev = "useCallback";
8858
8847
warnInvalidHookAccess();
@@ -8984,18 +8973,15 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
8984
8973
};
8985
8974
}
8986
8975
8987
- {
8988
- InvalidNestedHooksDispatcherOnMountInDEV.use = function (usable) {
8989
- warnInvalidHookAccess();
8990
- return use(usable);
8991
- };
8992
- }
8993
-
8994
8976
InvalidNestedHooksDispatcherOnUpdateInDEV = {
8995
8977
readContext: function (context) {
8996
8978
warnInvalidContextAccess();
8997
8979
return readContext(context);
8998
8980
},
8981
+ use: function (usable) {
8982
+ warnInvalidHookAccess();
8983
+ return use(usable);
8984
+ },
8999
8985
useCallback: function (callback, deps) {
9000
8986
currentHookNameInDev = "useCallback";
9001
8987
warnInvalidHookAccess();
@@ -9127,18 +9113,15 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
9127
9113
};
9128
9114
}
9129
9115
9130
- {
9131
- InvalidNestedHooksDispatcherOnUpdateInDEV.use = function (usable) {
9132
- warnInvalidHookAccess();
9133
- return use(usable);
9134
- };
9135
- }
9136
-
9137
9116
InvalidNestedHooksDispatcherOnRerenderInDEV = {
9138
9117
readContext: function (context) {
9139
9118
warnInvalidContextAccess();
9140
9119
return readContext(context);
9141
9120
},
9121
+ use: function (usable) {
9122
+ warnInvalidHookAccess();
9123
+ return use(usable);
9124
+ },
9142
9125
useCallback: function (callback, deps) {
9143
9126
currentHookNameInDev = "useCallback";
9144
9127
warnInvalidHookAccess();
@@ -9269,13 +9252,6 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
9269
9252
return updateRefresh();
9270
9253
};
9271
9254
}
9272
-
9273
- {
9274
- InvalidNestedHooksDispatcherOnRerenderInDEV.use = function (usable) {
9275
- warnInvalidHookAccess();
9276
- return use(usable);
9277
- };
9278
- }
9279
9255
}
9280
9256
9281
9257
var now = Scheduler$1.unstable_now;
@@ -23848,7 +23824,7 @@ function createFiberRoot(
23848
23824
return root;
23849
23825
}
23850
23826
23851
- var ReactVersion = "18.3.0-next-a21d1475f-20230422 ";
23827
+ var ReactVersion = "18.3.0-next-7ce765ec3-20230423 ";
23852
23828
23853
23829
// Might add PROFILE later.
23854
23830
0 commit comments