react-dom 19.2.0-canary-38ef6550-20250508 → 19.2.0-canary-21fdf308-20250508
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-client.development.js +125 -124
- package/cjs/react-dom-client.production.js +34 -37
- package/cjs/react-dom-profiling.development.js +132 -136
- package/cjs/react-dom-profiling.profiling.js +45 -49
- package/cjs/react-dom-server-legacy.browser.development.js +9 -12
- package/cjs/react-dom-server-legacy.browser.production.js +9 -11
- package/cjs/react-dom-server-legacy.node.development.js +9 -12
- package/cjs/react-dom-server-legacy.node.production.js +9 -11
- package/cjs/react-dom-server.browser.development.js +11 -14
- package/cjs/react-dom-server.browser.production.js +11 -13
- package/cjs/react-dom-server.bun.development.js +11 -13
- package/cjs/react-dom-server.bun.production.js +11 -13
- package/cjs/react-dom-server.edge.development.js +11 -14
- package/cjs/react-dom-server.edge.production.js +11 -13
- package/cjs/react-dom-server.node.development.js +11 -14
- package/cjs/react-dom-server.node.production.js +11 -13
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -3365,13 +3365,13 @@ function clz32Fallback(x) {
|
|
3365
3365
|
x >>>= 0;
|
3366
3366
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
3367
3367
|
}
|
3368
|
+
function noop() {}
|
3368
3369
|
var SuspenseException = Error(formatProdErrorMessage(460));
|
3369
|
-
function noop$2() {}
|
3370
3370
|
function trackUsedThenable(thenableState, thenable, index) {
|
3371
3371
|
index = thenableState[index];
|
3372
3372
|
void 0 === index
|
3373
3373
|
? thenableState.push(thenable)
|
3374
|
-
: index !== thenable && (thenable.then(noop
|
3374
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
3375
3375
|
switch (thenable.status) {
|
3376
3376
|
case "fulfilled":
|
3377
3377
|
return thenable.value;
|
@@ -3379,7 +3379,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
3379
3379
|
throw thenable.reason;
|
3380
3380
|
default:
|
3381
3381
|
"string" === typeof thenable.status
|
3382
|
-
? thenable.then(noop
|
3382
|
+
? thenable.then(noop, noop)
|
3383
3383
|
: ((thenableState = thenable),
|
3384
3384
|
(thenableState.status = "pending"),
|
3385
3385
|
thenableState.then(
|
@@ -3627,7 +3627,6 @@ function unwrapThenable(thenable) {
|
|
3627
3627
|
function unsupportedRefresh() {
|
3628
3628
|
throw Error(formatProdErrorMessage(393));
|
3629
3629
|
}
|
3630
|
-
function noop$1() {}
|
3631
3630
|
var HooksDispatcher = {
|
3632
3631
|
readContext: function (context) {
|
3633
3632
|
return context._currentValue;
|
@@ -3657,16 +3656,16 @@ var HooksDispatcher = {
|
|
3657
3656
|
useState: function (initialState) {
|
3658
3657
|
return useReducer(basicStateReducer, initialState);
|
3659
3658
|
},
|
3660
|
-
useInsertionEffect: noop
|
3661
|
-
useLayoutEffect: noop
|
3659
|
+
useInsertionEffect: noop,
|
3660
|
+
useLayoutEffect: noop,
|
3662
3661
|
useCallback: function (callback, deps) {
|
3663
3662
|
return useMemo(function () {
|
3664
3663
|
return callback;
|
3665
3664
|
}, deps);
|
3666
3665
|
},
|
3667
|
-
useImperativeHandle: noop
|
3668
|
-
useEffect: noop
|
3669
|
-
useDebugValue: noop
|
3666
|
+
useImperativeHandle: noop,
|
3667
|
+
useEffect: noop,
|
3668
|
+
useDebugValue: noop,
|
3670
3669
|
useDeferredValue: function (value, initialValue) {
|
3671
3670
|
resolveCurrentlyRenderingComponent();
|
3672
3671
|
return void 0 !== initialValue ? initialValue : value;
|
@@ -3944,7 +3943,6 @@ function defaultErrorHandler(error) {
|
|
3944
3943
|
} else console.error(error);
|
3945
3944
|
return null;
|
3946
3945
|
}
|
3947
|
-
function noop() {}
|
3948
3946
|
function RequestInstance(
|
3949
3947
|
resumableState,
|
3950
3948
|
renderState,
|
@@ -6344,12 +6342,12 @@ function abort(request, reason) {
|
|
6344
6342
|
}
|
6345
6343
|
function ensureCorrectIsomorphicReactVersion() {
|
6346
6344
|
var isomorphicReactPackageVersion = React.version;
|
6347
|
-
if ("19.2.0-canary-
|
6345
|
+
if ("19.2.0-canary-21fdf308-20250508" !== isomorphicReactPackageVersion)
|
6348
6346
|
throw Error(
|
6349
6347
|
formatProdErrorMessage(
|
6350
6348
|
527,
|
6351
6349
|
isomorphicReactPackageVersion,
|
6352
|
-
"19.2.0-canary-
|
6350
|
+
"19.2.0-canary-21fdf308-20250508"
|
6353
6351
|
)
|
6354
6352
|
);
|
6355
6353
|
}
|
@@ -6496,4 +6494,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6496
6494
|
startWork(request);
|
6497
6495
|
});
|
6498
6496
|
};
|
6499
|
-
exports.version = "19.2.0-canary-
|
6497
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
@@ -4822,15 +4822,15 @@ function clz32Fallback(x) {
|
|
4822
4822
|
x >>>= 0;
|
4823
4823
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
4824
4824
|
}
|
4825
|
+
function noop() {}
|
4825
4826
|
var SuspenseException = Error(
|
4826
4827
|
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
4827
4828
|
);
|
4828
|
-
function noop$2() {}
|
4829
4829
|
function trackUsedThenable(thenableState, thenable, index) {
|
4830
4830
|
index = thenableState[index];
|
4831
4831
|
void 0 === index
|
4832
4832
|
? thenableState.push(thenable)
|
4833
|
-
: index !== thenable && (thenable.then(noop
|
4833
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
4834
4834
|
switch (thenable.status) {
|
4835
4835
|
case "fulfilled":
|
4836
4836
|
return thenable.value;
|
@@ -4838,7 +4838,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
4838
4838
|
throw thenable.reason;
|
4839
4839
|
default:
|
4840
4840
|
"string" === typeof thenable.status
|
4841
|
-
? thenable.then(noop
|
4841
|
+
? thenable.then(noop, noop)
|
4842
4842
|
: ((thenableState = thenable),
|
4843
4843
|
(thenableState.status = "pending"),
|
4844
4844
|
thenableState.then(
|
@@ -5137,7 +5137,6 @@ function unwrapThenable(thenable) {
|
|
5137
5137
|
function unsupportedRefresh() {
|
5138
5138
|
throw Error("Cache cannot be refreshed during server rendering.");
|
5139
5139
|
}
|
5140
|
-
function noop$1() {}
|
5141
5140
|
var HooksDispatcher = {
|
5142
5141
|
readContext: readContext,
|
5143
5142
|
use: function (usable) {
|
@@ -5168,16 +5167,16 @@ var HooksDispatcher = {
|
|
5168
5167
|
currentHookNameInDev = "useState";
|
5169
5168
|
return useReducer(basicStateReducer, initialState);
|
5170
5169
|
},
|
5171
|
-
useInsertionEffect: noop
|
5172
|
-
useLayoutEffect: noop
|
5170
|
+
useInsertionEffect: noop,
|
5171
|
+
useLayoutEffect: noop,
|
5173
5172
|
useCallback: function (callback, deps) {
|
5174
5173
|
return useMemo(function () {
|
5175
5174
|
return callback;
|
5176
5175
|
}, deps);
|
5177
5176
|
},
|
5178
|
-
useImperativeHandle: noop
|
5179
|
-
useEffect: noop
|
5180
|
-
useDebugValue: noop
|
5177
|
+
useImperativeHandle: noop,
|
5178
|
+
useEffect: noop,
|
5179
|
+
useDebugValue: noop,
|
5181
5180
|
useDeferredValue: function (value, initialValue) {
|
5182
5181
|
resolveCurrentlyRenderingComponent();
|
5183
5182
|
return void 0 !== initialValue ? initialValue : value;
|
@@ -5593,7 +5592,6 @@ function defaultErrorHandler(error) {
|
|
5593
5592
|
} else console.error(error);
|
5594
5593
|
return null;
|
5595
5594
|
}
|
5596
|
-
function noop() {}
|
5597
5595
|
function RequestInstance(
|
5598
5596
|
resumableState,
|
5599
5597
|
renderState,
|
@@ -8751,13 +8749,13 @@ function abort(request, reason) {
|
|
8751
8749
|
}
|
8752
8750
|
var isomorphicReactPackageVersion$jscomp$inline_748 = React.version;
|
8753
8751
|
if (
|
8754
|
-
"19.2.0-canary-
|
8752
|
+
"19.2.0-canary-21fdf308-20250508" !==
|
8755
8753
|
isomorphicReactPackageVersion$jscomp$inline_748
|
8756
8754
|
)
|
8757
8755
|
throw Error(
|
8758
8756
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8759
8757
|
(isomorphicReactPackageVersion$jscomp$inline_748 +
|
8760
|
-
"\n - react-dom: 19.2.0-canary-
|
8758
|
+
"\n - react-dom: 19.2.0-canary-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
|
8761
8759
|
);
|
8762
8760
|
exports.renderToReadableStream = function (children, options) {
|
8763
8761
|
return new Promise(function (resolve, reject) {
|
@@ -8850,4 +8848,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
8850
8848
|
startWork(request$jscomp$0);
|
8851
8849
|
});
|
8852
8850
|
};
|
8853
|
-
exports.version = "19.2.0-canary-
|
8851
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
@@ -2990,15 +2990,15 @@ function clz32Fallback(x) {
|
|
2990
2990
|
x >>>= 0;
|
2991
2991
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
2992
2992
|
}
|
2993
|
+
function noop() {}
|
2993
2994
|
var SuspenseException = Error(
|
2994
2995
|
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
2995
2996
|
);
|
2996
|
-
function noop$2() {}
|
2997
2997
|
function trackUsedThenable(thenableState, thenable, index) {
|
2998
2998
|
index = thenableState[index];
|
2999
2999
|
void 0 === index
|
3000
3000
|
? thenableState.push(thenable)
|
3001
|
-
: index !== thenable && (thenable.then(noop
|
3001
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
3002
3002
|
switch (thenable.status) {
|
3003
3003
|
case "fulfilled":
|
3004
3004
|
return thenable.value;
|
@@ -3006,7 +3006,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
3006
3006
|
throw thenable.reason;
|
3007
3007
|
default:
|
3008
3008
|
"string" === typeof thenable.status
|
3009
|
-
? thenable.then(noop
|
3009
|
+
? thenable.then(noop, noop)
|
3010
3010
|
: ((thenableState = thenable),
|
3011
3011
|
(thenableState.status = "pending"),
|
3012
3012
|
thenableState.then(
|
@@ -3261,7 +3261,6 @@ function unwrapThenable(thenable) {
|
|
3261
3261
|
function unsupportedRefresh() {
|
3262
3262
|
throw Error("Cache cannot be refreshed during server rendering.");
|
3263
3263
|
}
|
3264
|
-
function noop$1() {}
|
3265
3264
|
var HooksDispatcher = {
|
3266
3265
|
readContext: function (context) {
|
3267
3266
|
return context._currentValue;
|
@@ -3291,16 +3290,16 @@ var HooksDispatcher = {
|
|
3291
3290
|
useState: function (initialState) {
|
3292
3291
|
return useReducer(basicStateReducer, initialState);
|
3293
3292
|
},
|
3294
|
-
useInsertionEffect: noop
|
3295
|
-
useLayoutEffect: noop
|
3293
|
+
useInsertionEffect: noop,
|
3294
|
+
useLayoutEffect: noop,
|
3296
3295
|
useCallback: function (callback, deps) {
|
3297
3296
|
return useMemo(function () {
|
3298
3297
|
return callback;
|
3299
3298
|
}, deps);
|
3300
3299
|
},
|
3301
|
-
useImperativeHandle: noop
|
3302
|
-
useEffect: noop
|
3303
|
-
useDebugValue: noop
|
3300
|
+
useImperativeHandle: noop,
|
3301
|
+
useEffect: noop,
|
3302
|
+
useDebugValue: noop,
|
3304
3303
|
useDeferredValue: function (value, initialValue) {
|
3305
3304
|
resolveCurrentlyRenderingComponent();
|
3306
3305
|
return void 0 !== initialValue ? initialValue : value;
|
@@ -3583,7 +3582,6 @@ function defaultErrorHandler(error) {
|
|
3583
3582
|
} else console.error(error);
|
3584
3583
|
return null;
|
3585
3584
|
}
|
3586
|
-
function noop() {}
|
3587
3585
|
function RequestInstance(
|
3588
3586
|
resumableState,
|
3589
3587
|
renderState,
|
@@ -5972,13 +5970,13 @@ function abort(request, reason) {
|
|
5972
5970
|
}
|
5973
5971
|
var isomorphicReactPackageVersion$jscomp$inline_768 = React.version;
|
5974
5972
|
if (
|
5975
|
-
"19.2.0-canary-
|
5973
|
+
"19.2.0-canary-21fdf308-20250508" !==
|
5976
5974
|
isomorphicReactPackageVersion$jscomp$inline_768
|
5977
5975
|
)
|
5978
5976
|
throw Error(
|
5979
5977
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
5980
5978
|
(isomorphicReactPackageVersion$jscomp$inline_768 +
|
5981
|
-
"\n - react-dom: 19.2.0-canary-
|
5979
|
+
"\n - react-dom: 19.2.0-canary-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
|
5982
5980
|
);
|
5983
5981
|
exports.renderToReadableStream = function (children, options) {
|
5984
5982
|
return new Promise(function (resolve, reject) {
|
@@ -6069,4 +6067,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6069
6067
|
startWork(request);
|
6070
6068
|
});
|
6071
6069
|
};
|
6072
|
-
exports.version = "19.2.0-canary-
|
6070
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
@@ -3845,13 +3845,12 @@
|
|
3845
3845
|
x >>>= 0;
|
3846
3846
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
3847
3847
|
}
|
3848
|
-
function noop
|
3848
|
+
function noop() {}
|
3849
3849
|
function trackUsedThenable(thenableState, thenable, index) {
|
3850
3850
|
index = thenableState[index];
|
3851
3851
|
void 0 === index
|
3852
3852
|
? thenableState.push(thenable)
|
3853
|
-
: index !== thenable &&
|
3854
|
-
(thenable.then(noop$2, noop$2), (thenable = index));
|
3853
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
3855
3854
|
switch (thenable.status) {
|
3856
3855
|
case "fulfilled":
|
3857
3856
|
return thenable.value;
|
@@ -3859,7 +3858,7 @@
|
|
3859
3858
|
throw thenable.reason;
|
3860
3859
|
default:
|
3861
3860
|
"string" === typeof thenable.status
|
3862
|
-
? thenable.then(noop
|
3861
|
+
? thenable.then(noop, noop)
|
3863
3862
|
: ((thenableState = thenable),
|
3864
3863
|
(thenableState.status = "pending"),
|
3865
3864
|
thenableState.then(
|
@@ -4145,7 +4144,6 @@
|
|
4145
4144
|
function unsupportedRefresh() {
|
4146
4145
|
throw Error("Cache cannot be refreshed during server rendering.");
|
4147
4146
|
}
|
4148
|
-
function noop$1() {}
|
4149
4147
|
function disabledLog() {}
|
4150
4148
|
function disableLogs() {
|
4151
4149
|
if (0 === disabledDepth) {
|
@@ -4462,7 +4460,6 @@
|
|
4462
4460
|
} else console.error(error);
|
4463
4461
|
return null;
|
4464
4462
|
}
|
4465
|
-
function noop() {}
|
4466
4463
|
function RequestInstance(
|
4467
4464
|
resumableState,
|
4468
4465
|
renderState,
|
@@ -7895,11 +7892,11 @@
|
|
7895
7892
|
}
|
7896
7893
|
function ensureCorrectIsomorphicReactVersion() {
|
7897
7894
|
var isomorphicReactPackageVersion = React.version;
|
7898
|
-
if ("19.2.0-canary-
|
7895
|
+
if ("19.2.0-canary-21fdf308-20250508" !== isomorphicReactPackageVersion)
|
7899
7896
|
throw Error(
|
7900
7897
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7901
7898
|
(isomorphicReactPackageVersion +
|
7902
|
-
"\n - react-dom: 19.2.0-canary-
|
7899
|
+
"\n - react-dom: 19.2.0-canary-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
|
7903
7900
|
);
|
7904
7901
|
}
|
7905
7902
|
var React = require("react"),
|
@@ -9300,16 +9297,16 @@
|
|
9300
9297
|
currentHookNameInDev = "useState";
|
9301
9298
|
return useReducer(basicStateReducer, initialState);
|
9302
9299
|
},
|
9303
|
-
useInsertionEffect: noop
|
9304
|
-
useLayoutEffect: noop
|
9300
|
+
useInsertionEffect: noop,
|
9301
|
+
useLayoutEffect: noop,
|
9305
9302
|
useCallback: function (callback, deps) {
|
9306
9303
|
return useMemo(function () {
|
9307
9304
|
return callback;
|
9308
9305
|
}, deps);
|
9309
9306
|
},
|
9310
|
-
useImperativeHandle: noop
|
9311
|
-
useEffect: noop
|
9312
|
-
useDebugValue: noop
|
9307
|
+
useImperativeHandle: noop,
|
9308
|
+
useEffect: noop,
|
9309
|
+
useDebugValue: noop,
|
9313
9310
|
useDeferredValue: function (value, initialValue) {
|
9314
9311
|
resolveCurrentlyRenderingComponent();
|
9315
9312
|
return void 0 !== initialValue ? initialValue : value;
|
@@ -9585,5 +9582,5 @@
|
|
9585
9582
|
startWork(request);
|
9586
9583
|
});
|
9587
9584
|
};
|
9588
|
-
exports.version = "19.2.0-canary-
|
9585
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
9589
9586
|
})();
|
@@ -3388,15 +3388,15 @@ function clz32Fallback(x) {
|
|
3388
3388
|
x >>>= 0;
|
3389
3389
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
3390
3390
|
}
|
3391
|
+
function noop() {}
|
3391
3392
|
var SuspenseException = Error(
|
3392
3393
|
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
3393
3394
|
);
|
3394
|
-
function noop$2() {}
|
3395
3395
|
function trackUsedThenable(thenableState, thenable, index) {
|
3396
3396
|
index = thenableState[index];
|
3397
3397
|
void 0 === index
|
3398
3398
|
? thenableState.push(thenable)
|
3399
|
-
: index !== thenable && (thenable.then(noop
|
3399
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
3400
3400
|
switch (thenable.status) {
|
3401
3401
|
case "fulfilled":
|
3402
3402
|
return thenable.value;
|
@@ -3404,7 +3404,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
3404
3404
|
throw thenable.reason;
|
3405
3405
|
default:
|
3406
3406
|
"string" === typeof thenable.status
|
3407
|
-
? thenable.then(noop
|
3407
|
+
? thenable.then(noop, noop)
|
3408
3408
|
: ((thenableState = thenable),
|
3409
3409
|
(thenableState.status = "pending"),
|
3410
3410
|
thenableState.then(
|
@@ -3661,7 +3661,6 @@ function unwrapThenable(thenable) {
|
|
3661
3661
|
function unsupportedRefresh() {
|
3662
3662
|
throw Error("Cache cannot be refreshed during server rendering.");
|
3663
3663
|
}
|
3664
|
-
function noop$1() {}
|
3665
3664
|
var HooksDispatcher = {
|
3666
3665
|
readContext: function (context) {
|
3667
3666
|
return context._currentValue;
|
@@ -3691,16 +3690,16 @@ var HooksDispatcher = {
|
|
3691
3690
|
useState: function (initialState) {
|
3692
3691
|
return useReducer(basicStateReducer, initialState);
|
3693
3692
|
},
|
3694
|
-
useInsertionEffect: noop
|
3695
|
-
useLayoutEffect: noop
|
3693
|
+
useInsertionEffect: noop,
|
3694
|
+
useLayoutEffect: noop,
|
3696
3695
|
useCallback: function (callback, deps) {
|
3697
3696
|
return useMemo(function () {
|
3698
3697
|
return callback;
|
3699
3698
|
}, deps);
|
3700
3699
|
},
|
3701
|
-
useImperativeHandle: noop
|
3702
|
-
useEffect: noop
|
3703
|
-
useDebugValue: noop
|
3700
|
+
useImperativeHandle: noop,
|
3701
|
+
useEffect: noop,
|
3702
|
+
useDebugValue: noop,
|
3704
3703
|
useDeferredValue: function (value, initialValue) {
|
3705
3704
|
resolveCurrentlyRenderingComponent();
|
3706
3705
|
return void 0 !== initialValue ? initialValue : value;
|
@@ -3988,7 +3987,6 @@ function defaultErrorHandler(error) {
|
|
3988
3987
|
} else console.error(error);
|
3989
3988
|
return null;
|
3990
3989
|
}
|
3991
|
-
function noop() {}
|
3992
3990
|
function RequestInstance(
|
3993
3991
|
resumableState,
|
3994
3992
|
renderState,
|
@@ -6439,11 +6437,11 @@ function abort(request, reason) {
|
|
6439
6437
|
}
|
6440
6438
|
function ensureCorrectIsomorphicReactVersion() {
|
6441
6439
|
var isomorphicReactPackageVersion = React.version;
|
6442
|
-
if ("19.2.0-canary-
|
6440
|
+
if ("19.2.0-canary-21fdf308-20250508" !== isomorphicReactPackageVersion)
|
6443
6441
|
throw Error(
|
6444
6442
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6445
6443
|
(isomorphicReactPackageVersion +
|
6446
|
-
"\n - react-dom: 19.2.0-canary-
|
6444
|
+
"\n - react-dom: 19.2.0-canary-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
|
6447
6445
|
);
|
6448
6446
|
}
|
6449
6447
|
ensureCorrectIsomorphicReactVersion();
|
@@ -6589,4 +6587,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6589
6587
|
startWork(request);
|
6590
6588
|
});
|
6591
6589
|
};
|
6592
|
-
exports.version = "19.2.0-canary-
|
6590
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
@@ -3748,13 +3748,12 @@
|
|
3748
3748
|
x >>>= 0;
|
3749
3749
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
3750
3750
|
}
|
3751
|
-
function noop
|
3751
|
+
function noop() {}
|
3752
3752
|
function trackUsedThenable(thenableState, thenable, index) {
|
3753
3753
|
index = thenableState[index];
|
3754
3754
|
void 0 === index
|
3755
3755
|
? thenableState.push(thenable)
|
3756
|
-
: index !== thenable &&
|
3757
|
-
(thenable.then(noop$2, noop$2), (thenable = index));
|
3756
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
3758
3757
|
switch (thenable.status) {
|
3759
3758
|
case "fulfilled":
|
3760
3759
|
return thenable.value;
|
@@ -3762,7 +3761,7 @@
|
|
3762
3761
|
throw thenable.reason;
|
3763
3762
|
default:
|
3764
3763
|
"string" === typeof thenable.status
|
3765
|
-
? thenable.then(noop
|
3764
|
+
? thenable.then(noop, noop)
|
3766
3765
|
: ((thenableState = thenable),
|
3767
3766
|
(thenableState.status = "pending"),
|
3768
3767
|
thenableState.then(
|
@@ -4045,7 +4044,6 @@
|
|
4045
4044
|
function unsupportedRefresh() {
|
4046
4045
|
throw Error("Cache cannot be refreshed during server rendering.");
|
4047
4046
|
}
|
4048
|
-
function noop$1() {}
|
4049
4047
|
function disabledLog() {}
|
4050
4048
|
function disableLogs() {
|
4051
4049
|
if (0 === disabledDepth) {
|
@@ -4362,7 +4360,6 @@
|
|
4362
4360
|
} else console.error(error);
|
4363
4361
|
return null;
|
4364
4362
|
}
|
4365
|
-
function noop() {}
|
4366
4363
|
function RequestInstance(
|
4367
4364
|
resumableState,
|
4368
4365
|
renderState,
|
@@ -7764,11 +7761,11 @@
|
|
7764
7761
|
}
|
7765
7762
|
function ensureCorrectIsomorphicReactVersion() {
|
7766
7763
|
var isomorphicReactPackageVersion = React.version;
|
7767
|
-
if ("19.2.0-canary-
|
7764
|
+
if ("19.2.0-canary-21fdf308-20250508" !== isomorphicReactPackageVersion)
|
7768
7765
|
throw Error(
|
7769
7766
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7770
7767
|
(isomorphicReactPackageVersion +
|
7771
|
-
"\n - react-dom: 19.2.0-canary-
|
7768
|
+
"\n - react-dom: 19.2.0-canary-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
|
7772
7769
|
);
|
7773
7770
|
}
|
7774
7771
|
function createDrainHandler(destination, request) {
|
@@ -9219,16 +9216,16 @@
|
|
9219
9216
|
currentHookNameInDev = "useState";
|
9220
9217
|
return useReducer(basicStateReducer, initialState);
|
9221
9218
|
},
|
9222
|
-
useInsertionEffect: noop
|
9223
|
-
useLayoutEffect: noop
|
9219
|
+
useInsertionEffect: noop,
|
9220
|
+
useLayoutEffect: noop,
|
9224
9221
|
useCallback: function (callback, deps) {
|
9225
9222
|
return useMemo(function () {
|
9226
9223
|
return callback;
|
9227
9224
|
}, deps);
|
9228
9225
|
},
|
9229
|
-
useImperativeHandle: noop
|
9230
|
-
useEffect: noop
|
9231
|
-
useDebugValue: noop
|
9226
|
+
useImperativeHandle: noop,
|
9227
|
+
useEffect: noop,
|
9228
|
+
useDebugValue: noop,
|
9232
9229
|
useDeferredValue: function (value, initialValue) {
|
9233
9230
|
resolveCurrentlyRenderingComponent();
|
9234
9231
|
return void 0 !== initialValue ? initialValue : value;
|
@@ -9453,5 +9450,5 @@
|
|
9453
9450
|
}
|
9454
9451
|
};
|
9455
9452
|
};
|
9456
|
-
exports.version = "19.2.0-canary-
|
9453
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
9457
9454
|
})();
|
@@ -3294,15 +3294,15 @@ function clz32Fallback(x) {
|
|
3294
3294
|
x >>>= 0;
|
3295
3295
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
3296
3296
|
}
|
3297
|
+
function noop() {}
|
3297
3298
|
var SuspenseException = Error(
|
3298
3299
|
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
3299
3300
|
);
|
3300
|
-
function noop$2() {}
|
3301
3301
|
function trackUsedThenable(thenableState, thenable, index) {
|
3302
3302
|
index = thenableState[index];
|
3303
3303
|
void 0 === index
|
3304
3304
|
? thenableState.push(thenable)
|
3305
|
-
: index !== thenable && (thenable.then(noop
|
3305
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
3306
3306
|
switch (thenable.status) {
|
3307
3307
|
case "fulfilled":
|
3308
3308
|
return thenable.value;
|
@@ -3310,7 +3310,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
3310
3310
|
throw thenable.reason;
|
3311
3311
|
default:
|
3312
3312
|
"string" === typeof thenable.status
|
3313
|
-
? thenable.then(noop
|
3313
|
+
? thenable.then(noop, noop)
|
3314
3314
|
: ((thenableState = thenable),
|
3315
3315
|
(thenableState.status = "pending"),
|
3316
3316
|
thenableState.then(
|
@@ -3564,7 +3564,6 @@ function unwrapThenable(thenable) {
|
|
3564
3564
|
function unsupportedRefresh() {
|
3565
3565
|
throw Error("Cache cannot be refreshed during server rendering.");
|
3566
3566
|
}
|
3567
|
-
function noop$1() {}
|
3568
3567
|
var HooksDispatcher = {
|
3569
3568
|
readContext: function (context) {
|
3570
3569
|
return context._currentValue;
|
@@ -3594,16 +3593,16 @@ var HooksDispatcher = {
|
|
3594
3593
|
useState: function (initialState) {
|
3595
3594
|
return useReducer(basicStateReducer, initialState);
|
3596
3595
|
},
|
3597
|
-
useInsertionEffect: noop
|
3598
|
-
useLayoutEffect: noop
|
3596
|
+
useInsertionEffect: noop,
|
3597
|
+
useLayoutEffect: noop,
|
3599
3598
|
useCallback: function (callback, deps) {
|
3600
3599
|
return useMemo(function () {
|
3601
3600
|
return callback;
|
3602
3601
|
}, deps);
|
3603
3602
|
},
|
3604
|
-
useImperativeHandle: noop
|
3605
|
-
useEffect: noop
|
3606
|
-
useDebugValue: noop
|
3603
|
+
useImperativeHandle: noop,
|
3604
|
+
useEffect: noop,
|
3605
|
+
useDebugValue: noop,
|
3607
3606
|
useDeferredValue: function (value, initialValue) {
|
3608
3607
|
resolveCurrentlyRenderingComponent();
|
3609
3608
|
return void 0 !== initialValue ? initialValue : value;
|
@@ -3891,7 +3890,6 @@ function defaultErrorHandler(error) {
|
|
3891
3890
|
} else console.error(error);
|
3892
3891
|
return null;
|
3893
3892
|
}
|
3894
|
-
function noop() {}
|
3895
3893
|
function RequestInstance(
|
3896
3894
|
resumableState,
|
3897
3895
|
renderState,
|
@@ -6334,11 +6332,11 @@ function abort(request, reason) {
|
|
6334
6332
|
}
|
6335
6333
|
function ensureCorrectIsomorphicReactVersion() {
|
6336
6334
|
var isomorphicReactPackageVersion = React.version;
|
6337
|
-
if ("19.2.0-canary-
|
6335
|
+
if ("19.2.0-canary-21fdf308-20250508" !== isomorphicReactPackageVersion)
|
6338
6336
|
throw Error(
|
6339
6337
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6340
6338
|
(isomorphicReactPackageVersion +
|
6341
|
-
"\n - react-dom: 19.2.0-canary-
|
6339
|
+
"\n - react-dom: 19.2.0-canary-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
|
6342
6340
|
);
|
6343
6341
|
}
|
6344
6342
|
ensureCorrectIsomorphicReactVersion();
|
@@ -6487,4 +6485,4 @@ exports.renderToPipeableStream = function (children, options) {
|
|
6487
6485
|
}
|
6488
6486
|
};
|
6489
6487
|
};
|
6490
|
-
exports.version = "19.2.0-canary-
|
6488
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
@@ -416,7 +416,7 @@
|
|
416
416
|
exports.useFormStatus = function () {
|
417
417
|
return resolveDispatcher().useHostTransitionStatus();
|
418
418
|
};
|
419
|
-
exports.version = "19.2.0-canary-
|
419
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
420
420
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
421
421
|
"function" ===
|
422
422
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
207
207
|
exports.useFormStatus = function () {
|
208
208
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
209
209
|
};
|
210
|
-
exports.version = "19.2.0-canary-
|
210
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-dom",
|
3
|
-
"version": "19.2.0-canary-
|
3
|
+
"version": "19.2.0-canary-21fdf308-20250508",
|
4
4
|
"description": "React package for working with the DOM.",
|
5
5
|
"main": "index.js",
|
6
6
|
"repository": {
|
@@ -17,10 +17,10 @@
|
|
17
17
|
},
|
18
18
|
"homepage": "https://react.dev/",
|
19
19
|
"dependencies": {
|
20
|
-
"scheduler": "0.27.0-canary-
|
20
|
+
"scheduler": "0.27.0-canary-21fdf308-20250508"
|
21
21
|
},
|
22
22
|
"peerDependencies": {
|
23
|
-
"react": "19.2.0-canary-
|
23
|
+
"react": "19.2.0-canary-21fdf308-20250508"
|
24
24
|
},
|
25
25
|
"files": [
|
26
26
|
"LICENSE",
|