react-dom 19.1.0-canary-4dff0e62-20241213 → 19.1.0-canary-e06c72fc-20241215

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.
@@ -25,10 +25,8 @@ var React = require("react"),
25
25
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
26
26
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
27
27
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
28
- REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
29
28
  REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
30
29
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
31
- REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
32
30
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
33
31
  isArrayImpl = Array.isArray,
34
32
  jsxPropsParents = new WeakMap(),
@@ -2996,7 +2994,7 @@ function pushStartInstance(
2996
2994
  : children$jscomp$6;
2997
2995
  Array.isArray(children$jscomp$6) && 1 < children$jscomp$6.length
2998
2996
  ? console.error(
2999
- "React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be commong to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",
2997
+ "React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",
3000
2998
  children$jscomp$6.length
3001
2999
  )
3002
3000
  : "function" === typeof child || "symbol" === typeof child
@@ -5000,101 +4998,90 @@ function unwrapThenable(thenable) {
5000
4998
  null === thenableState && (thenableState = []);
5001
4999
  return trackUsedThenable(thenableState, thenable, index);
5002
5000
  }
5003
- function unsupportedRefresh() {
5004
- throw Error("Cache cannot be refreshed during server rendering.");
5005
- }
5006
5001
  function noop$1() {}
5007
5002
  var HooksDispatcher = {
5008
- readContext: readContext,
5009
- use: function (usable) {
5010
- if (null !== usable && "object" === typeof usable) {
5011
- if ("function" === typeof usable.then) return unwrapThenable(usable);
5012
- if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable);
5003
+ readContext: readContext,
5004
+ use: function (usable) {
5005
+ if (null !== usable && "object" === typeof usable) {
5006
+ if ("function" === typeof usable.then) return unwrapThenable(usable);
5007
+ if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable);
5008
+ }
5009
+ throw Error("An unsupported type was passed to use(): " + String(usable));
5010
+ },
5011
+ useContext: function (context) {
5012
+ currentHookNameInDev = "useContext";
5013
+ resolveCurrentlyRenderingComponent();
5014
+ return context._currentValue;
5015
+ },
5016
+ useMemo: useMemo,
5017
+ useReducer: useReducer,
5018
+ useRef: function (initialValue) {
5019
+ currentlyRenderingComponent = resolveCurrentlyRenderingComponent();
5020
+ workInProgressHook = createWorkInProgressHook();
5021
+ var previousRef = workInProgressHook.memoizedState;
5022
+ return null === previousRef
5023
+ ? ((initialValue = { current: initialValue }),
5024
+ Object.seal(initialValue),
5025
+ (workInProgressHook.memoizedState = initialValue))
5026
+ : previousRef;
5027
+ },
5028
+ useState: function (initialState) {
5029
+ currentHookNameInDev = "useState";
5030
+ return useReducer(basicStateReducer, initialState);
5031
+ },
5032
+ useInsertionEffect: noop$1,
5033
+ useLayoutEffect: noop$1,
5034
+ useCallback: function (callback, deps) {
5035
+ return useMemo(function () {
5036
+ return callback;
5037
+ }, deps);
5038
+ },
5039
+ useImperativeHandle: noop$1,
5040
+ useEffect: noop$1,
5041
+ useDebugValue: noop$1,
5042
+ useDeferredValue: function (value, initialValue) {
5043
+ resolveCurrentlyRenderingComponent();
5044
+ return void 0 !== initialValue ? initialValue : value;
5045
+ },
5046
+ useTransition: function () {
5047
+ resolveCurrentlyRenderingComponent();
5048
+ return [!1, unsupportedStartTransition];
5049
+ },
5050
+ useId: function () {
5051
+ var treeId = currentlyRenderingTask.treeContext;
5052
+ var overflow = treeId.overflow;
5053
+ treeId = treeId.id;
5054
+ treeId =
5055
+ (treeId & ~(1 << (32 - clz32(treeId) - 1))).toString(32) + overflow;
5056
+ var resumableState = currentResumableState;
5057
+ if (null === resumableState)
5058
+ throw Error(
5059
+ "Invalid hook call. Hooks can only be called inside of the body of a function component."
5060
+ );
5061
+ overflow = localIdCounter++;
5062
+ treeId = ":" + resumableState.idPrefix + "R" + treeId;
5063
+ 0 < overflow && (treeId += "H" + overflow.toString(32));
5064
+ return treeId + ":";
5065
+ },
5066
+ useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
5067
+ if (void 0 === getServerSnapshot)
5068
+ throw Error(
5069
+ "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."
5070
+ );
5071
+ return getServerSnapshot();
5072
+ },
5073
+ useOptimistic: function (passthrough) {
5074
+ resolveCurrentlyRenderingComponent();
5075
+ return [passthrough, unsupportedSetOptimisticState];
5076
+ },
5077
+ useActionState: useActionState,
5078
+ useFormState: useActionState,
5079
+ useHostTransitionStatus: function () {
5080
+ resolveCurrentlyRenderingComponent();
5081
+ return NotPending;
5013
5082
  }
5014
- throw Error("An unsupported type was passed to use(): " + String(usable));
5015
- },
5016
- useContext: function (context) {
5017
- currentHookNameInDev = "useContext";
5018
- resolveCurrentlyRenderingComponent();
5019
- return context._currentValue;
5020
5083
  },
5021
- useMemo: useMemo,
5022
- useReducer: useReducer,
5023
- useRef: function (initialValue) {
5024
- currentlyRenderingComponent = resolveCurrentlyRenderingComponent();
5025
- workInProgressHook = createWorkInProgressHook();
5026
- var previousRef = workInProgressHook.memoizedState;
5027
- return null === previousRef
5028
- ? ((initialValue = { current: initialValue }),
5029
- Object.seal(initialValue),
5030
- (workInProgressHook.memoizedState = initialValue))
5031
- : previousRef;
5032
- },
5033
- useState: function (initialState) {
5034
- currentHookNameInDev = "useState";
5035
- return useReducer(basicStateReducer, initialState);
5036
- },
5037
- useInsertionEffect: noop$1,
5038
- useLayoutEffect: noop$1,
5039
- useCallback: function (callback, deps) {
5040
- return useMemo(function () {
5041
- return callback;
5042
- }, deps);
5043
- },
5044
- useImperativeHandle: noop$1,
5045
- useEffect: noop$1,
5046
- useDebugValue: noop$1,
5047
- useDeferredValue: function (value, initialValue) {
5048
- resolveCurrentlyRenderingComponent();
5049
- return void 0 !== initialValue ? initialValue : value;
5050
- },
5051
- useTransition: function () {
5052
- resolveCurrentlyRenderingComponent();
5053
- return [!1, unsupportedStartTransition];
5054
- },
5055
- useId: function () {
5056
- var treeId = currentlyRenderingTask.treeContext;
5057
- var overflow = treeId.overflow;
5058
- treeId = treeId.id;
5059
- treeId =
5060
- (treeId & ~(1 << (32 - clz32(treeId) - 1))).toString(32) + overflow;
5061
- var resumableState = currentResumableState;
5062
- if (null === resumableState)
5063
- throw Error(
5064
- "Invalid hook call. Hooks can only be called inside of the body of a function component."
5065
- );
5066
- overflow = localIdCounter++;
5067
- treeId = ":" + resumableState.idPrefix + "R" + treeId;
5068
- 0 < overflow && (treeId += "H" + overflow.toString(32));
5069
- return treeId + ":";
5070
- },
5071
- useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
5072
- if (void 0 === getServerSnapshot)
5073
- throw Error(
5074
- "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."
5075
- );
5076
- return getServerSnapshot();
5077
- },
5078
- useCacheRefresh: function () {
5079
- return unsupportedRefresh;
5080
- },
5081
- useMemoCache: function (size) {
5082
- for (var data = Array(size), i = 0; i < size; i++)
5083
- data[i] = REACT_MEMO_CACHE_SENTINEL;
5084
- return data;
5085
- },
5086
- useHostTransitionStatus: function () {
5087
- resolveCurrentlyRenderingComponent();
5088
- return NotPending;
5089
- },
5090
- useOptimistic: function (passthrough) {
5091
- resolveCurrentlyRenderingComponent();
5092
- return [passthrough, unsupportedSetOptimisticState];
5093
- }
5094
- };
5095
- HooksDispatcher.useFormState = useActionState;
5096
- HooksDispatcher.useActionState = useActionState;
5097
- var currentResumableState = null,
5084
+ currentResumableState = null,
5098
5085
  currentTaskInDEV = null,
5099
5086
  DefaultAsyncDispatcher = {
5100
5087
  getCacheForType: function () {
@@ -5335,7 +5322,7 @@ function describeComponentStackByType(type) {
5335
5322
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
5336
5323
  if ("function" === typeof type)
5337
5324
  return type.prototype && type.prototype.isReactComponent
5338
- ? ((type = describeNativeComponentFrame(type, !0)), type)
5325
+ ? describeNativeComponentFrame(type, !0)
5339
5326
  : describeNativeComponentFrame(type, !1);
5340
5327
  if ("object" === typeof type && null !== type) {
5341
5328
  switch (type.$$typeof) {
@@ -6324,7 +6311,6 @@ function renderElement(request, task, keyPath, type, props, ref) {
6324
6311
  } else {
6325
6312
  switch (type) {
6326
6313
  case REACT_LEGACY_HIDDEN_TYPE:
6327
- case REACT_DEBUG_TRACING_MODE_TYPE:
6328
6314
  case REACT_STRICT_MODE_TYPE:
6329
6315
  case REACT_PROFILER_TYPE:
6330
6316
  case REACT_FRAGMENT_TYPE:
@@ -8189,15 +8175,15 @@ function abort(request, reason) {
8189
8175
  logRecoverableError(request, error$4, {}), fatalError(request, error$4);
8190
8176
  }
8191
8177
  }
8192
- var isomorphicReactPackageVersion$jscomp$inline_702 = React.version;
8178
+ var isomorphicReactPackageVersion$jscomp$inline_699 = React.version;
8193
8179
  if (
8194
- "19.1.0-canary-4dff0e62-20241213" !==
8195
- isomorphicReactPackageVersion$jscomp$inline_702
8180
+ "19.1.0-canary-e06c72fc-20241215" !==
8181
+ isomorphicReactPackageVersion$jscomp$inline_699
8196
8182
  )
8197
8183
  throw Error(
8198
8184
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8199
- (isomorphicReactPackageVersion$jscomp$inline_702 +
8200
- "\n - react-dom: 19.1.0-canary-4dff0e62-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
8185
+ (isomorphicReactPackageVersion$jscomp$inline_699 +
8186
+ "\n - react-dom: 19.1.0-canary-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
8201
8187
  );
8202
8188
  exports.renderToReadableStream = function (children, options) {
8203
8189
  return new Promise(function (resolve, reject) {
@@ -8289,4 +8275,4 @@ exports.renderToReadableStream = function (children, options) {
8289
8275
  startWork(request$jscomp$0);
8290
8276
  });
8291
8277
  };
8292
- exports.version = "19.1.0-canary-4dff0e62-20241213";
8278
+ exports.version = "19.1.0-canary-e06c72fc-20241215";
@@ -25,10 +25,8 @@ var React = require("react"),
25
25
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
26
26
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
27
27
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
28
- REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
29
28
  REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
30
29
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
31
- REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
32
30
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
33
31
  isArrayImpl = Array.isArray,
34
32
  scheduleMicrotask = queueMicrotask;
@@ -3141,104 +3139,93 @@ function unwrapThenable(thenable) {
3141
3139
  null === thenableState && (thenableState = []);
3142
3140
  return trackUsedThenable(thenableState, thenable, index);
3143
3141
  }
3144
- function unsupportedRefresh() {
3145
- throw Error("Cache cannot be refreshed during server rendering.");
3146
- }
3147
3142
  function noop$1() {}
3148
3143
  var HooksDispatcher = {
3149
- readContext: function (context) {
3150
- return context._currentValue;
3151
- },
3152
- use: function (usable) {
3153
- if (null !== usable && "object" === typeof usable) {
3154
- if ("function" === typeof usable.then) return unwrapThenable(usable);
3155
- if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue;
3144
+ readContext: function (context) {
3145
+ return context._currentValue;
3146
+ },
3147
+ use: function (usable) {
3148
+ if (null !== usable && "object" === typeof usable) {
3149
+ if ("function" === typeof usable.then) return unwrapThenable(usable);
3150
+ if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue;
3151
+ }
3152
+ throw Error("An unsupported type was passed to use(): " + String(usable));
3153
+ },
3154
+ useContext: function (context) {
3155
+ resolveCurrentlyRenderingComponent();
3156
+ return context._currentValue;
3157
+ },
3158
+ useMemo: useMemo,
3159
+ useReducer: useReducer,
3160
+ useRef: function (initialValue) {
3161
+ currentlyRenderingComponent = resolveCurrentlyRenderingComponent();
3162
+ workInProgressHook = createWorkInProgressHook();
3163
+ var previousRef = workInProgressHook.memoizedState;
3164
+ return null === previousRef
3165
+ ? ((initialValue = { current: initialValue }),
3166
+ (workInProgressHook.memoizedState = initialValue))
3167
+ : previousRef;
3168
+ },
3169
+ useState: function (initialState) {
3170
+ return useReducer(basicStateReducer, initialState);
3171
+ },
3172
+ useInsertionEffect: noop$1,
3173
+ useLayoutEffect: noop$1,
3174
+ useCallback: function (callback, deps) {
3175
+ return useMemo(function () {
3176
+ return callback;
3177
+ }, deps);
3178
+ },
3179
+ useImperativeHandle: noop$1,
3180
+ useEffect: noop$1,
3181
+ useDebugValue: noop$1,
3182
+ useDeferredValue: function (value, initialValue) {
3183
+ resolveCurrentlyRenderingComponent();
3184
+ return void 0 !== initialValue ? initialValue : value;
3185
+ },
3186
+ useTransition: function () {
3187
+ resolveCurrentlyRenderingComponent();
3188
+ return [!1, unsupportedStartTransition];
3189
+ },
3190
+ useId: function () {
3191
+ var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
3192
+ var overflow = JSCompiler_inline_result.overflow;
3193
+ JSCompiler_inline_result = JSCompiler_inline_result.id;
3194
+ JSCompiler_inline_result =
3195
+ (
3196
+ JSCompiler_inline_result &
3197
+ ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
3198
+ ).toString(32) + overflow;
3199
+ var resumableState = currentResumableState;
3200
+ if (null === resumableState)
3201
+ throw Error(
3202
+ "Invalid hook call. Hooks can only be called inside of the body of a function component."
3203
+ );
3204
+ overflow = localIdCounter++;
3205
+ JSCompiler_inline_result =
3206
+ ":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
3207
+ 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
3208
+ return JSCompiler_inline_result + ":";
3209
+ },
3210
+ useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
3211
+ if (void 0 === getServerSnapshot)
3212
+ throw Error(
3213
+ "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."
3214
+ );
3215
+ return getServerSnapshot();
3216
+ },
3217
+ useOptimistic: function (passthrough) {
3218
+ resolveCurrentlyRenderingComponent();
3219
+ return [passthrough, unsupportedSetOptimisticState];
3220
+ },
3221
+ useActionState: useActionState,
3222
+ useFormState: useActionState,
3223
+ useHostTransitionStatus: function () {
3224
+ resolveCurrentlyRenderingComponent();
3225
+ return sharedNotPendingObject;
3156
3226
  }
3157
- throw Error("An unsupported type was passed to use(): " + String(usable));
3158
3227
  },
3159
- useContext: function (context) {
3160
- resolveCurrentlyRenderingComponent();
3161
- return context._currentValue;
3162
- },
3163
- useMemo: useMemo,
3164
- useReducer: useReducer,
3165
- useRef: function (initialValue) {
3166
- currentlyRenderingComponent = resolveCurrentlyRenderingComponent();
3167
- workInProgressHook = createWorkInProgressHook();
3168
- var previousRef = workInProgressHook.memoizedState;
3169
- return null === previousRef
3170
- ? ((initialValue = { current: initialValue }),
3171
- (workInProgressHook.memoizedState = initialValue))
3172
- : previousRef;
3173
- },
3174
- useState: function (initialState) {
3175
- return useReducer(basicStateReducer, initialState);
3176
- },
3177
- useInsertionEffect: noop$1,
3178
- useLayoutEffect: noop$1,
3179
- useCallback: function (callback, deps) {
3180
- return useMemo(function () {
3181
- return callback;
3182
- }, deps);
3183
- },
3184
- useImperativeHandle: noop$1,
3185
- useEffect: noop$1,
3186
- useDebugValue: noop$1,
3187
- useDeferredValue: function (value, initialValue) {
3188
- resolveCurrentlyRenderingComponent();
3189
- return void 0 !== initialValue ? initialValue : value;
3190
- },
3191
- useTransition: function () {
3192
- resolveCurrentlyRenderingComponent();
3193
- return [!1, unsupportedStartTransition];
3194
- },
3195
- useId: function () {
3196
- var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
3197
- var overflow = JSCompiler_inline_result.overflow;
3198
- JSCompiler_inline_result = JSCompiler_inline_result.id;
3199
- JSCompiler_inline_result =
3200
- (
3201
- JSCompiler_inline_result &
3202
- ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
3203
- ).toString(32) + overflow;
3204
- var resumableState = currentResumableState;
3205
- if (null === resumableState)
3206
- throw Error(
3207
- "Invalid hook call. Hooks can only be called inside of the body of a function component."
3208
- );
3209
- overflow = localIdCounter++;
3210
- JSCompiler_inline_result =
3211
- ":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
3212
- 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
3213
- return JSCompiler_inline_result + ":";
3214
- },
3215
- useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
3216
- if (void 0 === getServerSnapshot)
3217
- throw Error(
3218
- "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."
3219
- );
3220
- return getServerSnapshot();
3221
- },
3222
- useCacheRefresh: function () {
3223
- return unsupportedRefresh;
3224
- },
3225
- useMemoCache: function (size) {
3226
- for (var data = Array(size), i = 0; i < size; i++)
3227
- data[i] = REACT_MEMO_CACHE_SENTINEL;
3228
- return data;
3229
- },
3230
- useHostTransitionStatus: function () {
3231
- resolveCurrentlyRenderingComponent();
3232
- return sharedNotPendingObject;
3233
- },
3234
- useOptimistic: function (passthrough) {
3235
- resolveCurrentlyRenderingComponent();
3236
- return [passthrough, unsupportedSetOptimisticState];
3237
- }
3238
- };
3239
- HooksDispatcher.useFormState = useActionState;
3240
- HooksDispatcher.useActionState = useActionState;
3241
- var currentResumableState = null,
3228
+ currentResumableState = null,
3242
3229
  DefaultAsyncDispatcher = {
3243
3230
  getCacheForType: function () {
3244
3231
  throw Error("Not implemented.");
@@ -3400,7 +3387,7 @@ function describeComponentStackByType(type) {
3400
3387
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
3401
3388
  if ("function" === typeof type)
3402
3389
  return type.prototype && type.prototype.isReactComponent
3403
- ? ((type = describeNativeComponentFrame(type, !0)), type)
3390
+ ? describeNativeComponentFrame(type, !0)
3404
3391
  : describeNativeComponentFrame(type, !1);
3405
3392
  if ("object" === typeof type && null !== type) {
3406
3393
  switch (type.$$typeof) {
@@ -3979,7 +3966,6 @@ function renderElement(request, task, keyPath, type, props, ref) {
3979
3966
  else {
3980
3967
  switch (type) {
3981
3968
  case REACT_LEGACY_HIDDEN_TYPE:
3982
- case REACT_DEBUG_TRACING_MODE_TYPE:
3983
3969
  case REACT_STRICT_MODE_TYPE:
3984
3970
  case REACT_PROFILER_TYPE:
3985
3971
  case REACT_FRAGMENT_TYPE:
@@ -5592,15 +5578,15 @@ function abort(request, reason) {
5592
5578
  logRecoverableError(request, error$53, {}), fatalError(request, error$53);
5593
5579
  }
5594
5580
  }
5595
- var isomorphicReactPackageVersion$jscomp$inline_731 = React.version;
5581
+ var isomorphicReactPackageVersion$jscomp$inline_728 = React.version;
5596
5582
  if (
5597
- "19.1.0-canary-4dff0e62-20241213" !==
5598
- isomorphicReactPackageVersion$jscomp$inline_731
5583
+ "19.1.0-canary-e06c72fc-20241215" !==
5584
+ isomorphicReactPackageVersion$jscomp$inline_728
5599
5585
  )
5600
5586
  throw Error(
5601
5587
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
5602
- (isomorphicReactPackageVersion$jscomp$inline_731 +
5603
- "\n - react-dom: 19.1.0-canary-4dff0e62-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
5588
+ (isomorphicReactPackageVersion$jscomp$inline_728 +
5589
+ "\n - react-dom: 19.1.0-canary-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
5604
5590
  );
5605
5591
  exports.renderToReadableStream = function (children, options) {
5606
5592
  return new Promise(function (resolve, reject) {
@@ -5691,4 +5677,4 @@ exports.renderToReadableStream = function (children, options) {
5691
5677
  startWork(request);
5692
5678
  });
5693
5679
  };
5694
- exports.version = "19.1.0-canary-4dff0e62-20241213";
5680
+ exports.version = "19.1.0-canary-e06c72fc-20241215";
@@ -2430,7 +2430,7 @@
2430
2430
  : children$jscomp$6;
2431
2431
  Array.isArray(children$jscomp$6) && 1 < children$jscomp$6.length
2432
2432
  ? console.error(
2433
- "React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be commong to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",
2433
+ "React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",
2434
2434
  children$jscomp$6.length
2435
2435
  )
2436
2436
  : "function" === typeof child || "symbol" === typeof child
@@ -4012,9 +4012,6 @@
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
- }
4018
4015
  function noop$1() {}
4019
4016
  function disabledLog() {}
4020
4017
  function disableLogs() {
@@ -4245,7 +4242,7 @@
4245
4242
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
4246
4243
  if ("function" === typeof type)
4247
4244
  return type.prototype && type.prototype.isReactComponent
4248
- ? ((type = describeNativeComponentFrame(type, !0)), type)
4245
+ ? describeNativeComponentFrame(type, !0)
4249
4246
  : describeNativeComponentFrame(type, !1);
4250
4247
  if ("object" === typeof type && null !== type) {
4251
4248
  switch (type.$$typeof) {
@@ -5288,7 +5285,6 @@
5288
5285
  } else {
5289
5286
  switch (type) {
5290
5287
  case REACT_LEGACY_HIDDEN_TYPE:
5291
- case REACT_DEBUG_TRACING_MODE_TYPE:
5292
5288
  case REACT_STRICT_MODE_TYPE:
5293
5289
  case REACT_PROFILER_TYPE:
5294
5290
  case REACT_FRAGMENT_TYPE:
@@ -7319,11 +7315,11 @@
7319
7315
  }
7320
7316
  function ensureCorrectIsomorphicReactVersion() {
7321
7317
  var isomorphicReactPackageVersion = React.version;
7322
- if ("19.1.0-canary-4dff0e62-20241213" !== isomorphicReactPackageVersion)
7318
+ if ("19.1.0-canary-e06c72fc-20241215" !== isomorphicReactPackageVersion)
7323
7319
  throw Error(
7324
7320
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7325
7321
  (isomorphicReactPackageVersion +
7326
- "\n - react-dom: 19.1.0-canary-4dff0e62-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
7322
+ "\n - react-dom: 19.1.0-canary-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
7327
7323
  );
7328
7324
  }
7329
7325
  var React = require("react"),
@@ -7342,10 +7338,8 @@
7342
7338
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
7343
7339
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
7344
7340
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
7345
- REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
7346
7341
  REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
7347
7342
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
7348
- REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
7349
7343
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
7350
7344
  isArrayImpl = Array.isArray,
7351
7345
  jsxPropsParents = new WeakMap(),
@@ -8747,26 +8741,18 @@
8747
8741
  );
8748
8742
  return getServerSnapshot();
8749
8743
  },
8750
- useCacheRefresh: function () {
8751
- return unsupportedRefresh;
8752
- },
8753
- useMemoCache: function (size) {
8754
- for (var data = Array(size), i = 0; i < size; i++)
8755
- data[i] = REACT_MEMO_CACHE_SENTINEL;
8756
- return data;
8744
+ useOptimistic: function (passthrough) {
8745
+ resolveCurrentlyRenderingComponent();
8746
+ return [passthrough, unsupportedSetOptimisticState];
8757
8747
  },
8748
+ useActionState: useActionState,
8749
+ useFormState: useActionState,
8758
8750
  useHostTransitionStatus: function () {
8759
8751
  resolveCurrentlyRenderingComponent();
8760
8752
  return NotPending;
8761
- },
8762
- useOptimistic: function (passthrough) {
8763
- resolveCurrentlyRenderingComponent();
8764
- return [passthrough, unsupportedSetOptimisticState];
8765
8753
  }
8766
- };
8767
- HooksDispatcher.useFormState = useActionState;
8768
- HooksDispatcher.useActionState = useActionState;
8769
- var currentResumableState = null,
8754
+ },
8755
+ currentResumableState = null,
8770
8756
  currentTaskInDEV = null,
8771
8757
  DefaultAsyncDispatcher = {
8772
8758
  getCacheForType: function () {
@@ -8971,5 +8957,5 @@
8971
8957
  startWork(request);
8972
8958
  });
8973
8959
  };
8974
- exports.version = "19.1.0-canary-4dff0e62-20241213";
8960
+ exports.version = "19.1.0-canary-e06c72fc-20241215";
8975
8961
  })();