react-dom 19.1.0-canary-b3a95caf-20250113 → 19.1.0-canary-b158439a-20250115
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 +5 -5
- package/cjs/react-dom-client.production.js +5 -5
- package/cjs/react-dom-profiling.development.js +5 -5
- package/cjs/react-dom-profiling.profiling.js +5 -5
- package/cjs/react-dom-server-legacy.browser.development.js +13 -1
- package/cjs/react-dom-server-legacy.browser.production.js +13 -1
- package/cjs/react-dom-server-legacy.node.development.js +13 -1
- package/cjs/react-dom-server-legacy.node.production.js +13 -1
- package/cjs/react-dom-server.browser.development.js +15 -3
- package/cjs/react-dom-server.browser.production.js +15 -3
- package/cjs/react-dom-server.bun.development.js +15 -3
- package/cjs/react-dom-server.bun.production.js +15 -3
- package/cjs/react-dom-server.edge.development.js +15 -3
- package/cjs/react-dom-server.edge.production.js +15 -3
- package/cjs/react-dom-server.node.development.js +15 -3
- package/cjs/react-dom-server.node.production.js +15 -3
- 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
|
@@ -24570,11 +24570,11 @@
|
|
|
24570
24570
|
};
|
|
24571
24571
|
(function () {
|
|
24572
24572
|
var isomorphicReactPackageVersion = React.version;
|
|
24573
|
-
if ("19.1.0-canary-
|
|
24573
|
+
if ("19.1.0-canary-b158439a-20250115" !== isomorphicReactPackageVersion)
|
|
24574
24574
|
throw Error(
|
|
24575
24575
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
24576
24576
|
(isomorphicReactPackageVersion +
|
|
24577
|
-
"\n - react-dom: 19.1.0-canary-
|
|
24577
|
+
"\n - react-dom: 19.1.0-canary-b158439a-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
24578
24578
|
);
|
|
24579
24579
|
})();
|
|
24580
24580
|
("function" === typeof Map &&
|
|
@@ -24611,10 +24611,10 @@
|
|
|
24611
24611
|
!(function () {
|
|
24612
24612
|
var internals = {
|
|
24613
24613
|
bundleType: 1,
|
|
24614
|
-
version: "19.1.0-canary-
|
|
24614
|
+
version: "19.1.0-canary-b158439a-20250115",
|
|
24615
24615
|
rendererPackageName: "react-dom",
|
|
24616
24616
|
currentDispatcherRef: ReactSharedInternals,
|
|
24617
|
-
reconcilerVersion: "19.1.0-canary-
|
|
24617
|
+
reconcilerVersion: "19.1.0-canary-b158439a-20250115"
|
|
24618
24618
|
};
|
|
24619
24619
|
internals.overrideHookState = overrideHookState;
|
|
24620
24620
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -24760,7 +24760,7 @@
|
|
|
24760
24760
|
listenToAllSupportedEvents(container);
|
|
24761
24761
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
24762
24762
|
};
|
|
24763
|
-
exports.version = "19.1.0-canary-
|
|
24763
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
24764
24764
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
24765
24765
|
"function" ===
|
|
24766
24766
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
@@ -15202,14 +15202,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
|
15202
15202
|
};
|
|
15203
15203
|
var isomorphicReactPackageVersion$jscomp$inline_1737 = React.version;
|
|
15204
15204
|
if (
|
|
15205
|
-
"19.1.0-canary-
|
|
15205
|
+
"19.1.0-canary-b158439a-20250115" !==
|
|
15206
15206
|
isomorphicReactPackageVersion$jscomp$inline_1737
|
|
15207
15207
|
)
|
|
15208
15208
|
throw Error(
|
|
15209
15209
|
formatProdErrorMessage(
|
|
15210
15210
|
527,
|
|
15211
15211
|
isomorphicReactPackageVersion$jscomp$inline_1737,
|
|
15212
|
-
"19.1.0-canary-
|
|
15212
|
+
"19.1.0-canary-b158439a-20250115"
|
|
15213
15213
|
)
|
|
15214
15214
|
);
|
|
15215
15215
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
@@ -15231,10 +15231,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
|
15231
15231
|
};
|
|
15232
15232
|
var internals$jscomp$inline_2214 = {
|
|
15233
15233
|
bundleType: 0,
|
|
15234
|
-
version: "19.1.0-canary-
|
|
15234
|
+
version: "19.1.0-canary-b158439a-20250115",
|
|
15235
15235
|
rendererPackageName: "react-dom",
|
|
15236
15236
|
currentDispatcherRef: ReactSharedInternals,
|
|
15237
|
-
reconcilerVersion: "19.1.0-canary-
|
|
15237
|
+
reconcilerVersion: "19.1.0-canary-b158439a-20250115"
|
|
15238
15238
|
};
|
|
15239
15239
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
|
15240
15240
|
var hook$jscomp$inline_2215 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
@@ -15340,4 +15340,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
|
15340
15340
|
listenToAllSupportedEvents(container);
|
|
15341
15341
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
15342
15342
|
};
|
|
15343
|
-
exports.version = "19.1.0-canary-
|
|
15343
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
@@ -24627,11 +24627,11 @@
|
|
|
24627
24627
|
};
|
|
24628
24628
|
(function () {
|
|
24629
24629
|
var isomorphicReactPackageVersion = React.version;
|
|
24630
|
-
if ("19.1.0-canary-
|
|
24630
|
+
if ("19.1.0-canary-b158439a-20250115" !== isomorphicReactPackageVersion)
|
|
24631
24631
|
throw Error(
|
|
24632
24632
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
24633
24633
|
(isomorphicReactPackageVersion +
|
|
24634
|
-
"\n - react-dom: 19.1.0-canary-
|
|
24634
|
+
"\n - react-dom: 19.1.0-canary-b158439a-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
24635
24635
|
);
|
|
24636
24636
|
})();
|
|
24637
24637
|
("function" === typeof Map &&
|
|
@@ -24668,10 +24668,10 @@
|
|
|
24668
24668
|
!(function () {
|
|
24669
24669
|
var internals = {
|
|
24670
24670
|
bundleType: 1,
|
|
24671
|
-
version: "19.1.0-canary-
|
|
24671
|
+
version: "19.1.0-canary-b158439a-20250115",
|
|
24672
24672
|
rendererPackageName: "react-dom",
|
|
24673
24673
|
currentDispatcherRef: ReactSharedInternals,
|
|
24674
|
-
reconcilerVersion: "19.1.0-canary-
|
|
24674
|
+
reconcilerVersion: "19.1.0-canary-b158439a-20250115"
|
|
24675
24675
|
};
|
|
24676
24676
|
internals.overrideHookState = overrideHookState;
|
|
24677
24677
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -25147,7 +25147,7 @@
|
|
|
25147
25147
|
exports.useFormStatus = function () {
|
|
25148
25148
|
return resolveDispatcher().useHostTransitionStatus();
|
|
25149
25149
|
};
|
|
25150
|
-
exports.version = "19.1.0-canary-
|
|
25150
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
25151
25151
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
25152
25152
|
"function" ===
|
|
25153
25153
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
@@ -15848,14 +15848,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
|
15848
15848
|
};
|
|
15849
15849
|
var isomorphicReactPackageVersion$jscomp$inline_1833 = React.version;
|
|
15850
15850
|
if (
|
|
15851
|
-
"19.1.0-canary-
|
|
15851
|
+
"19.1.0-canary-b158439a-20250115" !==
|
|
15852
15852
|
isomorphicReactPackageVersion$jscomp$inline_1833
|
|
15853
15853
|
)
|
|
15854
15854
|
throw Error(
|
|
15855
15855
|
formatProdErrorMessage(
|
|
15856
15856
|
527,
|
|
15857
15857
|
isomorphicReactPackageVersion$jscomp$inline_1833,
|
|
15858
|
-
"19.1.0-canary-
|
|
15858
|
+
"19.1.0-canary-b158439a-20250115"
|
|
15859
15859
|
)
|
|
15860
15860
|
);
|
|
15861
15861
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
@@ -15877,10 +15877,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
|
15877
15877
|
};
|
|
15878
15878
|
var internals$jscomp$inline_1840 = {
|
|
15879
15879
|
bundleType: 0,
|
|
15880
|
-
version: "19.1.0-canary-
|
|
15880
|
+
version: "19.1.0-canary-b158439a-20250115",
|
|
15881
15881
|
rendererPackageName: "react-dom",
|
|
15882
15882
|
currentDispatcherRef: ReactSharedInternals,
|
|
15883
|
-
reconcilerVersion: "19.1.0-canary-
|
|
15883
|
+
reconcilerVersion: "19.1.0-canary-b158439a-20250115",
|
|
15884
15884
|
getLaneLabelMap: function () {
|
|
15885
15885
|
for (
|
|
15886
15886
|
var map = new Map(), lane = 1, index$279 = 0;
|
|
@@ -16162,7 +16162,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
|
16162
16162
|
exports.useFormStatus = function () {
|
|
16163
16163
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
|
16164
16164
|
};
|
|
16165
|
-
exports.version = "19.1.0-canary-
|
|
16165
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
16166
16166
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
16167
16167
|
"function" ===
|
|
16168
16168
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
@@ -3878,6 +3878,9 @@
|
|
|
3878
3878
|
null === thenableState && (thenableState = []);
|
|
3879
3879
|
return trackUsedThenable(thenableState, thenable, index);
|
|
3880
3880
|
}
|
|
3881
|
+
function unsupportedRefresh() {
|
|
3882
|
+
throw Error("Cache cannot be refreshed during server rendering.");
|
|
3883
|
+
}
|
|
3881
3884
|
function noop$1() {}
|
|
3882
3885
|
function disabledLog() {}
|
|
3883
3886
|
function disableLogs() {
|
|
@@ -7142,6 +7145,7 @@
|
|
|
7142
7145
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
7143
7146
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
7144
7147
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
7148
|
+
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
7145
7149
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
7146
7150
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
7147
7151
|
isArrayImpl = Array.isArray,
|
|
@@ -8475,6 +8479,14 @@
|
|
|
8475
8479
|
useHostTransitionStatus: function () {
|
|
8476
8480
|
resolveCurrentlyRenderingComponent();
|
|
8477
8481
|
return NotPending;
|
|
8482
|
+
},
|
|
8483
|
+
useMemoCache: function (size) {
|
|
8484
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
8485
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
8486
|
+
return data;
|
|
8487
|
+
},
|
|
8488
|
+
useCacheRefresh: function () {
|
|
8489
|
+
return unsupportedRefresh;
|
|
8478
8490
|
}
|
|
8479
8491
|
},
|
|
8480
8492
|
currentResumableState = null,
|
|
@@ -8555,5 +8567,5 @@
|
|
|
8555
8567
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
|
8556
8568
|
);
|
|
8557
8569
|
};
|
|
8558
|
-
exports.version = "19.1.0-canary-
|
|
8570
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
8559
8571
|
})();
|
|
@@ -66,6 +66,7 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
|
66
66
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
67
67
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
68
68
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
69
|
+
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
69
70
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
70
71
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
71
72
|
isArrayImpl = Array.isArray;
|
|
@@ -3128,6 +3129,9 @@ function unwrapThenable(thenable) {
|
|
|
3128
3129
|
null === thenableState && (thenableState = []);
|
|
3129
3130
|
return trackUsedThenable(thenableState, thenable, index);
|
|
3130
3131
|
}
|
|
3132
|
+
function unsupportedRefresh() {
|
|
3133
|
+
throw Error(formatProdErrorMessage(393));
|
|
3134
|
+
}
|
|
3131
3135
|
function noop$1() {}
|
|
3132
3136
|
var HooksDispatcher = {
|
|
3133
3137
|
readContext: function (context) {
|
|
@@ -3208,6 +3212,14 @@ var HooksDispatcher = {
|
|
|
3208
3212
|
useHostTransitionStatus: function () {
|
|
3209
3213
|
resolveCurrentlyRenderingComponent();
|
|
3210
3214
|
return sharedNotPendingObject;
|
|
3215
|
+
},
|
|
3216
|
+
useMemoCache: function (size) {
|
|
3217
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
3218
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
3219
|
+
return data;
|
|
3220
|
+
},
|
|
3221
|
+
useCacheRefresh: function () {
|
|
3222
|
+
return unsupportedRefresh;
|
|
3211
3223
|
}
|
|
3212
3224
|
},
|
|
3213
3225
|
currentResumableState = null,
|
|
@@ -5610,4 +5622,4 @@ exports.renderToString = function (children, options) {
|
|
|
5610
5622
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
|
5611
5623
|
);
|
|
5612
5624
|
};
|
|
5613
|
-
exports.version = "19.1.0-canary-
|
|
5625
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
@@ -3878,6 +3878,9 @@
|
|
|
3878
3878
|
null === thenableState && (thenableState = []);
|
|
3879
3879
|
return trackUsedThenable(thenableState, thenable, index);
|
|
3880
3880
|
}
|
|
3881
|
+
function unsupportedRefresh() {
|
|
3882
|
+
throw Error("Cache cannot be refreshed during server rendering.");
|
|
3883
|
+
}
|
|
3881
3884
|
function noop$1() {}
|
|
3882
3885
|
function disabledLog() {}
|
|
3883
3886
|
function disableLogs() {
|
|
@@ -7142,6 +7145,7 @@
|
|
|
7142
7145
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
7143
7146
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
7144
7147
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
7148
|
+
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
7145
7149
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
7146
7150
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
7147
7151
|
isArrayImpl = Array.isArray,
|
|
@@ -8475,6 +8479,14 @@
|
|
|
8475
8479
|
useHostTransitionStatus: function () {
|
|
8476
8480
|
resolveCurrentlyRenderingComponent();
|
|
8477
8481
|
return NotPending;
|
|
8482
|
+
},
|
|
8483
|
+
useMemoCache: function (size) {
|
|
8484
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
8485
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
8486
|
+
return data;
|
|
8487
|
+
},
|
|
8488
|
+
useCacheRefresh: function () {
|
|
8489
|
+
return unsupportedRefresh;
|
|
8478
8490
|
}
|
|
8479
8491
|
},
|
|
8480
8492
|
currentResumableState = null,
|
|
@@ -8555,5 +8567,5 @@
|
|
|
8555
8567
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
|
8556
8568
|
);
|
|
8557
8569
|
};
|
|
8558
|
-
exports.version = "19.1.0-canary-
|
|
8570
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
8559
8571
|
})();
|
|
@@ -51,6 +51,7 @@ var React = require("react"),
|
|
|
51
51
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
52
52
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
53
53
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
54
|
+
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
54
55
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
55
56
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
56
57
|
isArrayImpl = Array.isArray;
|
|
@@ -3170,6 +3171,9 @@ function unwrapThenable(thenable) {
|
|
|
3170
3171
|
null === thenableState && (thenableState = []);
|
|
3171
3172
|
return trackUsedThenable(thenableState, thenable, index);
|
|
3172
3173
|
}
|
|
3174
|
+
function unsupportedRefresh() {
|
|
3175
|
+
throw Error("Cache cannot be refreshed during server rendering.");
|
|
3176
|
+
}
|
|
3173
3177
|
function noop$1() {}
|
|
3174
3178
|
var HooksDispatcher = {
|
|
3175
3179
|
readContext: function (context) {
|
|
@@ -3255,6 +3259,14 @@ var HooksDispatcher = {
|
|
|
3255
3259
|
useHostTransitionStatus: function () {
|
|
3256
3260
|
resolveCurrentlyRenderingComponent();
|
|
3257
3261
|
return sharedNotPendingObject;
|
|
3262
|
+
},
|
|
3263
|
+
useMemoCache: function (size) {
|
|
3264
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
3265
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
3266
|
+
return data;
|
|
3267
|
+
},
|
|
3268
|
+
useCacheRefresh: function () {
|
|
3269
|
+
return unsupportedRefresh;
|
|
3258
3270
|
}
|
|
3259
3271
|
},
|
|
3260
3272
|
currentResumableState = null,
|
|
@@ -5687,4 +5699,4 @@ exports.renderToString = function (children, options) {
|
|
|
5687
5699
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
|
5688
5700
|
);
|
|
5689
5701
|
};
|
|
5690
|
-
exports.version = "19.1.0-canary-
|
|
5702
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
@@ -4016,6 +4016,9 @@
|
|
|
4016
4016
|
null === thenableState && (thenableState = []);
|
|
4017
4017
|
return trackUsedThenable(thenableState, thenable, index);
|
|
4018
4018
|
}
|
|
4019
|
+
function unsupportedRefresh() {
|
|
4020
|
+
throw Error("Cache cannot be refreshed during server rendering.");
|
|
4021
|
+
}
|
|
4019
4022
|
function noop$1() {}
|
|
4020
4023
|
function disabledLog() {}
|
|
4021
4024
|
function disableLogs() {
|
|
@@ -7293,11 +7296,11 @@
|
|
|
7293
7296
|
}
|
|
7294
7297
|
function ensureCorrectIsomorphicReactVersion() {
|
|
7295
7298
|
var isomorphicReactPackageVersion = React.version;
|
|
7296
|
-
if ("19.1.0-canary-
|
|
7299
|
+
if ("19.1.0-canary-b158439a-20250115" !== isomorphicReactPackageVersion)
|
|
7297
7300
|
throw Error(
|
|
7298
7301
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
7299
7302
|
(isomorphicReactPackageVersion +
|
|
7300
|
-
"\n - react-dom: 19.1.0-canary-
|
|
7303
|
+
"\n - react-dom: 19.1.0-canary-b158439a-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
7301
7304
|
);
|
|
7302
7305
|
}
|
|
7303
7306
|
var React = require("react"),
|
|
@@ -7318,6 +7321,7 @@
|
|
|
7318
7321
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
7319
7322
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
7320
7323
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
7324
|
+
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
7321
7325
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
7322
7326
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
7323
7327
|
isArrayImpl = Array.isArray,
|
|
@@ -8730,6 +8734,14 @@
|
|
|
8730
8734
|
useHostTransitionStatus: function () {
|
|
8731
8735
|
resolveCurrentlyRenderingComponent();
|
|
8732
8736
|
return NotPending;
|
|
8737
|
+
},
|
|
8738
|
+
useMemoCache: function (size) {
|
|
8739
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
8740
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
8741
|
+
return data;
|
|
8742
|
+
},
|
|
8743
|
+
useCacheRefresh: function () {
|
|
8744
|
+
return unsupportedRefresh;
|
|
8733
8745
|
}
|
|
8734
8746
|
},
|
|
8735
8747
|
currentResumableState = null,
|
|
@@ -8937,5 +8949,5 @@
|
|
|
8937
8949
|
startWork(request);
|
|
8938
8950
|
});
|
|
8939
8951
|
};
|
|
8940
|
-
exports.version = "19.1.0-canary-
|
|
8952
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
8941
8953
|
})();
|
|
@@ -66,6 +66,7 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
|
66
66
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
67
67
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
68
68
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
69
|
+
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
69
70
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
70
71
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
71
72
|
isArrayImpl = Array.isArray;
|
|
@@ -3485,6 +3486,9 @@ function unwrapThenable(thenable) {
|
|
|
3485
3486
|
null === thenableState && (thenableState = []);
|
|
3486
3487
|
return trackUsedThenable(thenableState, thenable, index);
|
|
3487
3488
|
}
|
|
3489
|
+
function unsupportedRefresh() {
|
|
3490
|
+
throw Error(formatProdErrorMessage(393));
|
|
3491
|
+
}
|
|
3488
3492
|
function noop$1() {}
|
|
3489
3493
|
var HooksDispatcher = {
|
|
3490
3494
|
readContext: function (context) {
|
|
@@ -3564,6 +3568,14 @@ var HooksDispatcher = {
|
|
|
3564
3568
|
useHostTransitionStatus: function () {
|
|
3565
3569
|
resolveCurrentlyRenderingComponent();
|
|
3566
3570
|
return sharedNotPendingObject;
|
|
3571
|
+
},
|
|
3572
|
+
useMemoCache: function (size) {
|
|
3573
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
3574
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
3575
|
+
return data;
|
|
3576
|
+
},
|
|
3577
|
+
useCacheRefresh: function () {
|
|
3578
|
+
return unsupportedRefresh;
|
|
3567
3579
|
}
|
|
3568
3580
|
},
|
|
3569
3581
|
currentResumableState = null,
|
|
@@ -5942,12 +5954,12 @@ function abort(request, reason) {
|
|
|
5942
5954
|
}
|
|
5943
5955
|
function ensureCorrectIsomorphicReactVersion() {
|
|
5944
5956
|
var isomorphicReactPackageVersion = React.version;
|
|
5945
|
-
if ("19.1.0-canary-
|
|
5957
|
+
if ("19.1.0-canary-b158439a-20250115" !== isomorphicReactPackageVersion)
|
|
5946
5958
|
throw Error(
|
|
5947
5959
|
formatProdErrorMessage(
|
|
5948
5960
|
527,
|
|
5949
5961
|
isomorphicReactPackageVersion,
|
|
5950
|
-
"19.1.0-canary-
|
|
5962
|
+
"19.1.0-canary-b158439a-20250115"
|
|
5951
5963
|
)
|
|
5952
5964
|
);
|
|
5953
5965
|
}
|
|
@@ -6094,4 +6106,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
6094
6106
|
startWork(request);
|
|
6095
6107
|
});
|
|
6096
6108
|
};
|
|
6097
|
-
exports.version = "19.1.0-canary-
|
|
6109
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
@@ -27,6 +27,7 @@ var React = require("react"),
|
|
|
27
27
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
28
28
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
29
29
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
30
|
+
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
30
31
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
31
32
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
32
33
|
isArrayImpl = Array.isArray,
|
|
@@ -4996,6 +4997,9 @@ function unwrapThenable(thenable) {
|
|
|
4996
4997
|
null === thenableState && (thenableState = []);
|
|
4997
4998
|
return trackUsedThenable(thenableState, thenable, index);
|
|
4998
4999
|
}
|
|
5000
|
+
function unsupportedRefresh() {
|
|
5001
|
+
throw Error("Cache cannot be refreshed during server rendering.");
|
|
5002
|
+
}
|
|
4999
5003
|
function noop$1() {}
|
|
5000
5004
|
var HooksDispatcher = {
|
|
5001
5005
|
readContext: readContext,
|
|
@@ -5077,6 +5081,14 @@ var HooksDispatcher = {
|
|
|
5077
5081
|
useHostTransitionStatus: function () {
|
|
5078
5082
|
resolveCurrentlyRenderingComponent();
|
|
5079
5083
|
return NotPending;
|
|
5084
|
+
},
|
|
5085
|
+
useMemoCache: function (size) {
|
|
5086
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
5087
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
5088
|
+
return data;
|
|
5089
|
+
},
|
|
5090
|
+
useCacheRefresh: function () {
|
|
5091
|
+
return unsupportedRefresh;
|
|
5080
5092
|
}
|
|
5081
5093
|
},
|
|
5082
5094
|
currentResumableState = null,
|
|
@@ -8176,13 +8188,13 @@ function abort(request, reason) {
|
|
|
8176
8188
|
}
|
|
8177
8189
|
var isomorphicReactPackageVersion$jscomp$inline_699 = React.version;
|
|
8178
8190
|
if (
|
|
8179
|
-
"19.1.0-canary-
|
|
8191
|
+
"19.1.0-canary-b158439a-20250115" !==
|
|
8180
8192
|
isomorphicReactPackageVersion$jscomp$inline_699
|
|
8181
8193
|
)
|
|
8182
8194
|
throw Error(
|
|
8183
8195
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8184
8196
|
(isomorphicReactPackageVersion$jscomp$inline_699 +
|
|
8185
|
-
"\n - react-dom: 19.1.0-canary-
|
|
8197
|
+
"\n - react-dom: 19.1.0-canary-b158439a-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8186
8198
|
);
|
|
8187
8199
|
exports.renderToReadableStream = function (children, options) {
|
|
8188
8200
|
return new Promise(function (resolve, reject) {
|
|
@@ -8274,4 +8286,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
8274
8286
|
startWork(request$jscomp$0);
|
|
8275
8287
|
});
|
|
8276
8288
|
};
|
|
8277
|
-
exports.version = "19.1.0-canary-
|
|
8289
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
@@ -27,6 +27,7 @@ var React = require("react"),
|
|
|
27
27
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
28
28
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
29
29
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
30
|
+
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
30
31
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
31
32
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
32
33
|
isArrayImpl = Array.isArray,
|
|
@@ -3137,6 +3138,9 @@ function unwrapThenable(thenable) {
|
|
|
3137
3138
|
null === thenableState && (thenableState = []);
|
|
3138
3139
|
return trackUsedThenable(thenableState, thenable, index);
|
|
3139
3140
|
}
|
|
3141
|
+
function unsupportedRefresh() {
|
|
3142
|
+
throw Error("Cache cannot be refreshed during server rendering.");
|
|
3143
|
+
}
|
|
3140
3144
|
function noop$1() {}
|
|
3141
3145
|
var HooksDispatcher = {
|
|
3142
3146
|
readContext: function (context) {
|
|
@@ -3221,6 +3225,14 @@ var HooksDispatcher = {
|
|
|
3221
3225
|
useHostTransitionStatus: function () {
|
|
3222
3226
|
resolveCurrentlyRenderingComponent();
|
|
3223
3227
|
return sharedNotPendingObject;
|
|
3228
|
+
},
|
|
3229
|
+
useMemoCache: function (size) {
|
|
3230
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
3231
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
3232
|
+
return data;
|
|
3233
|
+
},
|
|
3234
|
+
useCacheRefresh: function () {
|
|
3235
|
+
return unsupportedRefresh;
|
|
3224
3236
|
}
|
|
3225
3237
|
},
|
|
3226
3238
|
currentResumableState = null,
|
|
@@ -5579,13 +5591,13 @@ function abort(request, reason) {
|
|
|
5579
5591
|
}
|
|
5580
5592
|
var isomorphicReactPackageVersion$jscomp$inline_728 = React.version;
|
|
5581
5593
|
if (
|
|
5582
|
-
"19.1.0-canary-
|
|
5594
|
+
"19.1.0-canary-b158439a-20250115" !==
|
|
5583
5595
|
isomorphicReactPackageVersion$jscomp$inline_728
|
|
5584
5596
|
)
|
|
5585
5597
|
throw Error(
|
|
5586
5598
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
5587
5599
|
(isomorphicReactPackageVersion$jscomp$inline_728 +
|
|
5588
|
-
"\n - react-dom: 19.1.0-canary-
|
|
5600
|
+
"\n - react-dom: 19.1.0-canary-b158439a-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
5589
5601
|
);
|
|
5590
5602
|
exports.renderToReadableStream = function (children, options) {
|
|
5591
5603
|
return new Promise(function (resolve, reject) {
|
|
@@ -5676,4 +5688,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
5676
5688
|
startWork(request);
|
|
5677
5689
|
});
|
|
5678
5690
|
};
|
|
5679
|
-
exports.version = "19.1.0-canary-
|
|
5691
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
@@ -4012,6 +4012,9 @@
|
|
|
4012
4012
|
null === thenableState && (thenableState = []);
|
|
4013
4013
|
return trackUsedThenable(thenableState, thenable, index);
|
|
4014
4014
|
}
|
|
4015
|
+
function unsupportedRefresh() {
|
|
4016
|
+
throw Error("Cache cannot be refreshed during server rendering.");
|
|
4017
|
+
}
|
|
4015
4018
|
function noop$1() {}
|
|
4016
4019
|
function disabledLog() {}
|
|
4017
4020
|
function disableLogs() {
|
|
@@ -7316,11 +7319,11 @@
|
|
|
7316
7319
|
}
|
|
7317
7320
|
function ensureCorrectIsomorphicReactVersion() {
|
|
7318
7321
|
var isomorphicReactPackageVersion = React.version;
|
|
7319
|
-
if ("19.1.0-canary-
|
|
7322
|
+
if ("19.1.0-canary-b158439a-20250115" !== isomorphicReactPackageVersion)
|
|
7320
7323
|
throw Error(
|
|
7321
7324
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
7322
7325
|
(isomorphicReactPackageVersion +
|
|
7323
|
-
"\n - react-dom: 19.1.0-canary-
|
|
7326
|
+
"\n - react-dom: 19.1.0-canary-b158439a-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
7324
7327
|
);
|
|
7325
7328
|
}
|
|
7326
7329
|
var React = require("react"),
|
|
@@ -7341,6 +7344,7 @@
|
|
|
7341
7344
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
7342
7345
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
7343
7346
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
7347
|
+
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
7344
7348
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
7345
7349
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
7346
7350
|
isArrayImpl = Array.isArray,
|
|
@@ -8749,6 +8753,14 @@
|
|
|
8749
8753
|
useHostTransitionStatus: function () {
|
|
8750
8754
|
resolveCurrentlyRenderingComponent();
|
|
8751
8755
|
return NotPending;
|
|
8756
|
+
},
|
|
8757
|
+
useMemoCache: function (size) {
|
|
8758
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
8759
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
8760
|
+
return data;
|
|
8761
|
+
},
|
|
8762
|
+
useCacheRefresh: function () {
|
|
8763
|
+
return unsupportedRefresh;
|
|
8752
8764
|
}
|
|
8753
8765
|
},
|
|
8754
8766
|
currentResumableState = null,
|
|
@@ -8956,5 +8968,5 @@
|
|
|
8956
8968
|
startWork(request);
|
|
8957
8969
|
});
|
|
8958
8970
|
};
|
|
8959
|
-
exports.version = "19.1.0-canary-
|
|
8971
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
8960
8972
|
})();
|
|
@@ -51,6 +51,7 @@ var React = require("react"),
|
|
|
51
51
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
52
52
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
53
53
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
54
|
+
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
54
55
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
55
56
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
56
57
|
isArrayImpl = Array.isArray;
|
|
@@ -3519,6 +3520,9 @@ function unwrapThenable(thenable) {
|
|
|
3519
3520
|
null === thenableState && (thenableState = []);
|
|
3520
3521
|
return trackUsedThenable(thenableState, thenable, index);
|
|
3521
3522
|
}
|
|
3523
|
+
function unsupportedRefresh() {
|
|
3524
|
+
throw Error("Cache cannot be refreshed during server rendering.");
|
|
3525
|
+
}
|
|
3522
3526
|
function noop$1() {}
|
|
3523
3527
|
var HooksDispatcher = {
|
|
3524
3528
|
readContext: function (context) {
|
|
@@ -3603,6 +3607,14 @@ var HooksDispatcher = {
|
|
|
3603
3607
|
useHostTransitionStatus: function () {
|
|
3604
3608
|
resolveCurrentlyRenderingComponent();
|
|
3605
3609
|
return sharedNotPendingObject;
|
|
3610
|
+
},
|
|
3611
|
+
useMemoCache: function (size) {
|
|
3612
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
3613
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
3614
|
+
return data;
|
|
3615
|
+
},
|
|
3616
|
+
useCacheRefresh: function () {
|
|
3617
|
+
return unsupportedRefresh;
|
|
3606
3618
|
}
|
|
3607
3619
|
},
|
|
3608
3620
|
currentResumableState = null,
|
|
@@ -6034,11 +6046,11 @@ function abort(request, reason) {
|
|
|
6034
6046
|
}
|
|
6035
6047
|
function ensureCorrectIsomorphicReactVersion() {
|
|
6036
6048
|
var isomorphicReactPackageVersion = React.version;
|
|
6037
|
-
if ("19.1.0-canary-
|
|
6049
|
+
if ("19.1.0-canary-b158439a-20250115" !== isomorphicReactPackageVersion)
|
|
6038
6050
|
throw Error(
|
|
6039
6051
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
6040
6052
|
(isomorphicReactPackageVersion +
|
|
6041
|
-
"\n - react-dom: 19.1.0-canary-
|
|
6053
|
+
"\n - react-dom: 19.1.0-canary-b158439a-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
6042
6054
|
);
|
|
6043
6055
|
}
|
|
6044
6056
|
ensureCorrectIsomorphicReactVersion();
|
|
@@ -6184,4 +6196,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
6184
6196
|
startWork(request);
|
|
6185
6197
|
});
|
|
6186
6198
|
};
|
|
6187
|
-
exports.version = "19.1.0-canary-
|
|
6199
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
@@ -3915,6 +3915,9 @@
|
|
|
3915
3915
|
null === thenableState && (thenableState = []);
|
|
3916
3916
|
return trackUsedThenable(thenableState, thenable, index);
|
|
3917
3917
|
}
|
|
3918
|
+
function unsupportedRefresh() {
|
|
3919
|
+
throw Error("Cache cannot be refreshed during server rendering.");
|
|
3920
|
+
}
|
|
3918
3921
|
function noop$1() {}
|
|
3919
3922
|
function disabledLog() {}
|
|
3920
3923
|
function disableLogs() {
|
|
@@ -7191,11 +7194,11 @@
|
|
|
7191
7194
|
}
|
|
7192
7195
|
function ensureCorrectIsomorphicReactVersion() {
|
|
7193
7196
|
var isomorphicReactPackageVersion = React.version;
|
|
7194
|
-
if ("19.1.0-canary-
|
|
7197
|
+
if ("19.1.0-canary-b158439a-20250115" !== isomorphicReactPackageVersion)
|
|
7195
7198
|
throw Error(
|
|
7196
7199
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
7197
7200
|
(isomorphicReactPackageVersion +
|
|
7198
|
-
"\n - react-dom: 19.1.0-canary-
|
|
7201
|
+
"\n - react-dom: 19.1.0-canary-b158439a-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
7199
7202
|
);
|
|
7200
7203
|
}
|
|
7201
7204
|
function createDrainHandler(destination, request) {
|
|
@@ -7274,6 +7277,7 @@
|
|
|
7274
7277
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
7275
7278
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
7276
7279
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
7280
|
+
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
7277
7281
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
7278
7282
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
7279
7283
|
isArrayImpl = Array.isArray,
|
|
@@ -8674,6 +8678,14 @@
|
|
|
8674
8678
|
useHostTransitionStatus: function () {
|
|
8675
8679
|
resolveCurrentlyRenderingComponent();
|
|
8676
8680
|
return NotPending;
|
|
8681
|
+
},
|
|
8682
|
+
useMemoCache: function (size) {
|
|
8683
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
8684
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
8685
|
+
return data;
|
|
8686
|
+
},
|
|
8687
|
+
useCacheRefresh: function () {
|
|
8688
|
+
return unsupportedRefresh;
|
|
8677
8689
|
}
|
|
8678
8690
|
},
|
|
8679
8691
|
currentResumableState = null,
|
|
@@ -8830,5 +8842,5 @@
|
|
|
8830
8842
|
}
|
|
8831
8843
|
};
|
|
8832
8844
|
};
|
|
8833
|
-
exports.version = "19.1.0-canary-
|
|
8845
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
8834
8846
|
})();
|
|
@@ -31,6 +31,7 @@ var util = require("util"),
|
|
|
31
31
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
32
32
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
33
33
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
34
|
+
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
34
35
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
35
36
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
36
37
|
isArrayImpl = Array.isArray,
|
|
@@ -3419,6 +3420,9 @@ function unwrapThenable(thenable) {
|
|
|
3419
3420
|
null === thenableState && (thenableState = []);
|
|
3420
3421
|
return trackUsedThenable(thenableState, thenable, index);
|
|
3421
3422
|
}
|
|
3423
|
+
function unsupportedRefresh() {
|
|
3424
|
+
throw Error("Cache cannot be refreshed during server rendering.");
|
|
3425
|
+
}
|
|
3422
3426
|
function noop$1() {}
|
|
3423
3427
|
var HooksDispatcher = {
|
|
3424
3428
|
readContext: function (context) {
|
|
@@ -3503,6 +3507,14 @@ var HooksDispatcher = {
|
|
|
3503
3507
|
useHostTransitionStatus: function () {
|
|
3504
3508
|
resolveCurrentlyRenderingComponent();
|
|
3505
3509
|
return sharedNotPendingObject;
|
|
3510
|
+
},
|
|
3511
|
+
useMemoCache: function (size) {
|
|
3512
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
3513
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
3514
|
+
return data;
|
|
3515
|
+
},
|
|
3516
|
+
useCacheRefresh: function () {
|
|
3517
|
+
return unsupportedRefresh;
|
|
3506
3518
|
}
|
|
3507
3519
|
},
|
|
3508
3520
|
currentResumableState = null,
|
|
@@ -5926,11 +5938,11 @@ function abort(request, reason) {
|
|
|
5926
5938
|
}
|
|
5927
5939
|
function ensureCorrectIsomorphicReactVersion() {
|
|
5928
5940
|
var isomorphicReactPackageVersion = React.version;
|
|
5929
|
-
if ("19.1.0-canary-
|
|
5941
|
+
if ("19.1.0-canary-b158439a-20250115" !== isomorphicReactPackageVersion)
|
|
5930
5942
|
throw Error(
|
|
5931
5943
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
5932
5944
|
(isomorphicReactPackageVersion +
|
|
5933
|
-
"\n - react-dom: 19.1.0-canary-
|
|
5945
|
+
"\n - react-dom: 19.1.0-canary-b158439a-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
5934
5946
|
);
|
|
5935
5947
|
}
|
|
5936
5948
|
ensureCorrectIsomorphicReactVersion();
|
|
@@ -6079,4 +6091,4 @@ exports.renderToPipeableStream = function (children, options) {
|
|
|
6079
6091
|
}
|
|
6080
6092
|
};
|
|
6081
6093
|
};
|
|
6082
|
-
exports.version = "19.1.0-canary-
|
|
6094
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
exports.useFormStatus = function () {
|
|
417
417
|
return resolveDispatcher().useHostTransitionStatus();
|
|
418
418
|
};
|
|
419
|
-
exports.version = "19.1.0-canary-
|
|
419
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
|
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.1.0-canary-
|
|
210
|
+
exports.version = "19.1.0-canary-b158439a-20250115";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-dom",
|
|
3
|
-
"version": "19.1.0-canary-
|
|
3
|
+
"version": "19.1.0-canary-b158439a-20250115",
|
|
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.26.0-canary-
|
|
20
|
+
"scheduler": "0.26.0-canary-b158439a-20250115"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"react": "19.1.0-canary-
|
|
23
|
+
"react": "19.1.0-canary-b158439a-20250115"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"LICENSE",
|