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.
@@ -2129,7 +2129,7 @@
2129
2129
  : children$jscomp$6;
2130
2130
  Array.isArray(children$jscomp$6) && 1 < children$jscomp$6.length
2131
2131
  ? console.error(
2132
- "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>.",
2132
+ "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>.",
2133
2133
  children$jscomp$6.length
2134
2134
  )
2135
2135
  : "function" === typeof child || "symbol" === typeof child
@@ -3878,9 +3878,6 @@
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
- }
3884
3881
  function noop$1() {}
3885
3882
  function disabledLog() {}
3886
3883
  function disableLogs() {
@@ -4105,7 +4102,7 @@
4105
4102
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
4106
4103
  if ("function" === typeof type)
4107
4104
  return type.prototype && type.prototype.isReactComponent
4108
- ? ((type = describeNativeComponentFrame(type, !0)), type)
4105
+ ? describeNativeComponentFrame(type, !0)
4109
4106
  : describeNativeComponentFrame(type, !1);
4110
4107
  if ("object" === typeof type && null !== type) {
4111
4108
  switch (type.$$typeof) {
@@ -5090,7 +5087,6 @@
5090
5087
  } else {
5091
5088
  switch (type) {
5092
5089
  case REACT_LEGACY_HIDDEN_TYPE:
5093
- case REACT_DEBUG_TRACING_MODE_TYPE:
5094
5090
  case REACT_STRICT_MODE_TYPE:
5095
5091
  case REACT_PROFILER_TYPE:
5096
5092
  case REACT_FRAGMENT_TYPE:
@@ -7143,10 +7139,8 @@
7143
7139
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
7144
7140
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
7145
7141
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
7146
- REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
7147
7142
  REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
7148
7143
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
7149
- REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
7150
7144
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
7151
7145
  isArrayImpl = Array.isArray,
7152
7146
  jsxPropsParents = new WeakMap(),
@@ -8473,26 +8467,18 @@
8473
8467
  );
8474
8468
  return getServerSnapshot();
8475
8469
  },
8476
- useCacheRefresh: function () {
8477
- return unsupportedRefresh;
8478
- },
8479
- useMemoCache: function (size) {
8480
- for (var data = Array(size), i = 0; i < size; i++)
8481
- data[i] = REACT_MEMO_CACHE_SENTINEL;
8482
- return data;
8470
+ useOptimistic: function (passthrough) {
8471
+ resolveCurrentlyRenderingComponent();
8472
+ return [passthrough, unsupportedSetOptimisticState];
8483
8473
  },
8474
+ useActionState: useActionState,
8475
+ useFormState: useActionState,
8484
8476
  useHostTransitionStatus: function () {
8485
8477
  resolveCurrentlyRenderingComponent();
8486
8478
  return NotPending;
8487
- },
8488
- useOptimistic: function (passthrough) {
8489
- resolveCurrentlyRenderingComponent();
8490
- return [passthrough, unsupportedSetOptimisticState];
8491
8479
  }
8492
- };
8493
- HooksDispatcher.useFormState = useActionState;
8494
- HooksDispatcher.useActionState = useActionState;
8495
- var currentResumableState = null,
8480
+ },
8481
+ currentResumableState = null,
8496
8482
  currentTaskInDEV = null,
8497
8483
  DefaultAsyncDispatcher = {
8498
8484
  getCacheForType: function () {
@@ -8570,5 +8556,5 @@
8570
8556
  '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'
8571
8557
  );
8572
8558
  };
8573
- exports.version = "19.1.0-canary-4dff0e62-20241213";
8559
+ exports.version = "19.1.0-canary-e06c72fc-20241215";
8574
8560
  })();
@@ -64,10 +64,8 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
64
64
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
65
65
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
66
66
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
67
- REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
68
67
  REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
69
68
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
70
- REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
71
69
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
72
70
  isArrayImpl = Array.isArray;
73
71
  function murmurhash3_32_gc(key, seed) {
@@ -2566,16 +2564,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
2566
2564
  "\x3c/script>"
2567
2565
  );
2568
2566
  bootstrapScriptContent = idPrefix + "P:";
2569
- var JSCompiler_object_inline_segmentPrefix_1482 = idPrefix + "S:";
2567
+ var JSCompiler_object_inline_segmentPrefix_1479 = idPrefix + "S:";
2570
2568
  idPrefix += "B:";
2571
- var JSCompiler_object_inline_preconnects_1496 = new Set(),
2572
- JSCompiler_object_inline_fontPreloads_1497 = new Set(),
2573
- JSCompiler_object_inline_highImagePreloads_1498 = new Set(),
2574
- JSCompiler_object_inline_styles_1499 = new Map(),
2575
- JSCompiler_object_inline_bootstrapScripts_1500 = new Set(),
2576
- JSCompiler_object_inline_scripts_1501 = new Set(),
2577
- JSCompiler_object_inline_bulkPreloads_1502 = new Set(),
2578
- JSCompiler_object_inline_preloads_1503 = {
2569
+ var JSCompiler_object_inline_preconnects_1493 = new Set(),
2570
+ JSCompiler_object_inline_fontPreloads_1494 = new Set(),
2571
+ JSCompiler_object_inline_highImagePreloads_1495 = new Set(),
2572
+ JSCompiler_object_inline_styles_1496 = new Map(),
2573
+ JSCompiler_object_inline_bootstrapScripts_1497 = new Set(),
2574
+ JSCompiler_object_inline_scripts_1498 = new Set(),
2575
+ JSCompiler_object_inline_bulkPreloads_1499 = new Set(),
2576
+ JSCompiler_object_inline_preloads_1500 = {
2579
2577
  images: new Map(),
2580
2578
  stylesheets: new Map(),
2581
2579
  scripts: new Map(),
@@ -2612,7 +2610,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2612
2610
  scriptConfig.moduleScriptResources[href] = null;
2613
2611
  scriptConfig = [];
2614
2612
  pushLinkImpl(scriptConfig, props);
2615
- JSCompiler_object_inline_bootstrapScripts_1500.add(scriptConfig);
2613
+ JSCompiler_object_inline_bootstrapScripts_1497.add(scriptConfig);
2616
2614
  bootstrapChunks.push('<script src="', escapeTextForBrowser(src));
2617
2615
  "string" === typeof integrity &&
2618
2616
  bootstrapChunks.push('" integrity="', escapeTextForBrowser(integrity));
@@ -2653,7 +2651,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2653
2651
  (props.moduleScriptResources[scriptConfig] = null),
2654
2652
  (props = []),
2655
2653
  pushLinkImpl(props, integrity),
2656
- JSCompiler_object_inline_bootstrapScripts_1500.add(props),
2654
+ JSCompiler_object_inline_bootstrapScripts_1497.add(props),
2657
2655
  bootstrapChunks.push(
2658
2656
  '<script type="module" src="',
2659
2657
  escapeTextForBrowser(i)
@@ -2668,7 +2666,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2668
2666
  bootstrapChunks.push('" async="">\x3c/script>');
2669
2667
  return {
2670
2668
  placeholderPrefix: bootstrapScriptContent,
2671
- segmentPrefix: JSCompiler_object_inline_segmentPrefix_1482,
2669
+ segmentPrefix: JSCompiler_object_inline_segmentPrefix_1479,
2672
2670
  boundaryPrefix: idPrefix,
2673
2671
  startInlineScript: "<script>",
2674
2672
  htmlChunks: null,
@@ -2688,14 +2686,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
2688
2686
  charsetChunks: [],
2689
2687
  viewportChunks: [],
2690
2688
  hoistableChunks: [],
2691
- preconnects: JSCompiler_object_inline_preconnects_1496,
2692
- fontPreloads: JSCompiler_object_inline_fontPreloads_1497,
2693
- highImagePreloads: JSCompiler_object_inline_highImagePreloads_1498,
2694
- styles: JSCompiler_object_inline_styles_1499,
2695
- bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1500,
2696
- scripts: JSCompiler_object_inline_scripts_1501,
2697
- bulkPreloads: JSCompiler_object_inline_bulkPreloads_1502,
2698
- preloads: JSCompiler_object_inline_preloads_1503,
2689
+ preconnects: JSCompiler_object_inline_preconnects_1493,
2690
+ fontPreloads: JSCompiler_object_inline_fontPreloads_1494,
2691
+ highImagePreloads: JSCompiler_object_inline_highImagePreloads_1495,
2692
+ styles: JSCompiler_object_inline_styles_1496,
2693
+ bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1497,
2694
+ scripts: JSCompiler_object_inline_scripts_1498,
2695
+ bulkPreloads: JSCompiler_object_inline_bulkPreloads_1499,
2696
+ preloads: JSCompiler_object_inline_preloads_1500,
2699
2697
  stylesToHoist: !1,
2700
2698
  generateStaticMarkup: generateStaticMarkup
2701
2699
  };
@@ -3132,98 +3130,89 @@ function unwrapThenable(thenable) {
3132
3130
  null === thenableState && (thenableState = []);
3133
3131
  return trackUsedThenable(thenableState, thenable, index);
3134
3132
  }
3135
- function unsupportedRefresh() {
3136
- throw Error(formatProdErrorMessage(393));
3137
- }
3138
3133
  function noop$1() {}
3139
3134
  var HooksDispatcher = {
3140
- readContext: function (context) {
3141
- return context._currentValue2;
3142
- },
3143
- use: function (usable) {
3144
- if (null !== usable && "object" === typeof usable) {
3145
- if ("function" === typeof usable.then) return unwrapThenable(usable);
3146
- if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue2;
3135
+ readContext: function (context) {
3136
+ return context._currentValue2;
3137
+ },
3138
+ use: function (usable) {
3139
+ if (null !== usable && "object" === typeof usable) {
3140
+ if ("function" === typeof usable.then) return unwrapThenable(usable);
3141
+ if (usable.$$typeof === REACT_CONTEXT_TYPE)
3142
+ return usable._currentValue2;
3143
+ }
3144
+ throw Error(formatProdErrorMessage(438, String(usable)));
3145
+ },
3146
+ useContext: function (context) {
3147
+ resolveCurrentlyRenderingComponent();
3148
+ return context._currentValue2;
3149
+ },
3150
+ useMemo: useMemo,
3151
+ useReducer: useReducer,
3152
+ useRef: function (initialValue) {
3153
+ currentlyRenderingComponent = resolveCurrentlyRenderingComponent();
3154
+ workInProgressHook = createWorkInProgressHook();
3155
+ var previousRef = workInProgressHook.memoizedState;
3156
+ return null === previousRef
3157
+ ? ((initialValue = { current: initialValue }),
3158
+ (workInProgressHook.memoizedState = initialValue))
3159
+ : previousRef;
3160
+ },
3161
+ useState: function (initialState) {
3162
+ return useReducer(basicStateReducer, initialState);
3163
+ },
3164
+ useInsertionEffect: noop$1,
3165
+ useLayoutEffect: noop$1,
3166
+ useCallback: function (callback, deps) {
3167
+ return useMemo(function () {
3168
+ return callback;
3169
+ }, deps);
3170
+ },
3171
+ useImperativeHandle: noop$1,
3172
+ useEffect: noop$1,
3173
+ useDebugValue: noop$1,
3174
+ useDeferredValue: function (value, initialValue) {
3175
+ resolveCurrentlyRenderingComponent();
3176
+ return void 0 !== initialValue ? initialValue : value;
3177
+ },
3178
+ useTransition: function () {
3179
+ resolveCurrentlyRenderingComponent();
3180
+ return [!1, unsupportedStartTransition];
3181
+ },
3182
+ useId: function () {
3183
+ var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
3184
+ var overflow = JSCompiler_inline_result.overflow;
3185
+ JSCompiler_inline_result = JSCompiler_inline_result.id;
3186
+ JSCompiler_inline_result =
3187
+ (
3188
+ JSCompiler_inline_result &
3189
+ ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
3190
+ ).toString(32) + overflow;
3191
+ var resumableState = currentResumableState;
3192
+ if (null === resumableState) throw Error(formatProdErrorMessage(404));
3193
+ overflow = localIdCounter++;
3194
+ JSCompiler_inline_result =
3195
+ ":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
3196
+ 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
3197
+ return JSCompiler_inline_result + ":";
3198
+ },
3199
+ useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
3200
+ if (void 0 === getServerSnapshot)
3201
+ throw Error(formatProdErrorMessage(407));
3202
+ return getServerSnapshot();
3203
+ },
3204
+ useOptimistic: function (passthrough) {
3205
+ resolveCurrentlyRenderingComponent();
3206
+ return [passthrough, unsupportedSetOptimisticState];
3207
+ },
3208
+ useActionState: useActionState,
3209
+ useFormState: useActionState,
3210
+ useHostTransitionStatus: function () {
3211
+ resolveCurrentlyRenderingComponent();
3212
+ return sharedNotPendingObject;
3147
3213
  }
3148
- throw Error(formatProdErrorMessage(438, String(usable)));
3149
3214
  },
3150
- useContext: function (context) {
3151
- resolveCurrentlyRenderingComponent();
3152
- return context._currentValue2;
3153
- },
3154
- useMemo: useMemo,
3155
- useReducer: useReducer,
3156
- useRef: function (initialValue) {
3157
- currentlyRenderingComponent = resolveCurrentlyRenderingComponent();
3158
- workInProgressHook = createWorkInProgressHook();
3159
- var previousRef = workInProgressHook.memoizedState;
3160
- return null === previousRef
3161
- ? ((initialValue = { current: initialValue }),
3162
- (workInProgressHook.memoizedState = initialValue))
3163
- : previousRef;
3164
- },
3165
- useState: function (initialState) {
3166
- return useReducer(basicStateReducer, initialState);
3167
- },
3168
- useInsertionEffect: noop$1,
3169
- useLayoutEffect: noop$1,
3170
- useCallback: function (callback, deps) {
3171
- return useMemo(function () {
3172
- return callback;
3173
- }, deps);
3174
- },
3175
- useImperativeHandle: noop$1,
3176
- useEffect: noop$1,
3177
- useDebugValue: noop$1,
3178
- useDeferredValue: function (value, initialValue) {
3179
- resolveCurrentlyRenderingComponent();
3180
- return void 0 !== initialValue ? initialValue : value;
3181
- },
3182
- useTransition: function () {
3183
- resolveCurrentlyRenderingComponent();
3184
- return [!1, unsupportedStartTransition];
3185
- },
3186
- useId: function () {
3187
- var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
3188
- var overflow = JSCompiler_inline_result.overflow;
3189
- JSCompiler_inline_result = JSCompiler_inline_result.id;
3190
- JSCompiler_inline_result =
3191
- (
3192
- JSCompiler_inline_result &
3193
- ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
3194
- ).toString(32) + overflow;
3195
- var resumableState = currentResumableState;
3196
- if (null === resumableState) throw Error(formatProdErrorMessage(404));
3197
- overflow = localIdCounter++;
3198
- JSCompiler_inline_result =
3199
- ":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
3200
- 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
3201
- return JSCompiler_inline_result + ":";
3202
- },
3203
- useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
3204
- if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407));
3205
- return getServerSnapshot();
3206
- },
3207
- useCacheRefresh: function () {
3208
- return unsupportedRefresh;
3209
- },
3210
- useMemoCache: function (size) {
3211
- for (var data = Array(size), i = 0; i < size; i++)
3212
- data[i] = REACT_MEMO_CACHE_SENTINEL;
3213
- return data;
3214
- },
3215
- useHostTransitionStatus: function () {
3216
- resolveCurrentlyRenderingComponent();
3217
- return sharedNotPendingObject;
3218
- },
3219
- useOptimistic: function (passthrough) {
3220
- resolveCurrentlyRenderingComponent();
3221
- return [passthrough, unsupportedSetOptimisticState];
3222
- }
3223
- };
3224
- HooksDispatcher.useFormState = useActionState;
3225
- HooksDispatcher.useActionState = useActionState;
3226
- var currentResumableState = null,
3215
+ currentResumableState = null,
3227
3216
  DefaultAsyncDispatcher = {
3228
3217
  getCacheForType: function () {
3229
3218
  throw Error(formatProdErrorMessage(248));
@@ -3385,7 +3374,7 @@ function describeComponentStackByType(type) {
3385
3374
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
3386
3375
  if ("function" === typeof type)
3387
3376
  return type.prototype && type.prototype.isReactComponent
3388
- ? ((type = describeNativeComponentFrame(type, !0)), type)
3377
+ ? describeNativeComponentFrame(type, !0)
3389
3378
  : describeNativeComponentFrame(type, !1);
3390
3379
  if ("object" === typeof type && null !== type) {
3391
3380
  switch (type.$$typeof) {
@@ -3949,7 +3938,6 @@ function renderElement(request, task, keyPath, type, props, ref) {
3949
3938
  else {
3950
3939
  switch (type) {
3951
3940
  case REACT_LEGACY_HIDDEN_TYPE:
3952
- case REACT_DEBUG_TRACING_MODE_TYPE:
3953
3941
  case REACT_STRICT_MODE_TYPE:
3954
3942
  case REACT_PROFILER_TYPE:
3955
3943
  case REACT_FRAGMENT_TYPE:
@@ -5623,4 +5611,4 @@ exports.renderToString = function (children, options) {
5623
5611
  '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'
5624
5612
  );
5625
5613
  };
5626
- exports.version = "19.1.0-canary-4dff0e62-20241213";
5614
+ exports.version = "19.1.0-canary-e06c72fc-20241215";
@@ -2129,7 +2129,7 @@
2129
2129
  : children$jscomp$6;
2130
2130
  Array.isArray(children$jscomp$6) && 1 < children$jscomp$6.length
2131
2131
  ? console.error(
2132
- "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>.",
2132
+ "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>.",
2133
2133
  children$jscomp$6.length
2134
2134
  )
2135
2135
  : "function" === typeof child || "symbol" === typeof child
@@ -3878,9 +3878,6 @@
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
- }
3884
3881
  function noop$1() {}
3885
3882
  function disabledLog() {}
3886
3883
  function disableLogs() {
@@ -4105,7 +4102,7 @@
4105
4102
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
4106
4103
  if ("function" === typeof type)
4107
4104
  return type.prototype && type.prototype.isReactComponent
4108
- ? ((type = describeNativeComponentFrame(type, !0)), type)
4105
+ ? describeNativeComponentFrame(type, !0)
4109
4106
  : describeNativeComponentFrame(type, !1);
4110
4107
  if ("object" === typeof type && null !== type) {
4111
4108
  switch (type.$$typeof) {
@@ -5090,7 +5087,6 @@
5090
5087
  } else {
5091
5088
  switch (type) {
5092
5089
  case REACT_LEGACY_HIDDEN_TYPE:
5093
- case REACT_DEBUG_TRACING_MODE_TYPE:
5094
5090
  case REACT_STRICT_MODE_TYPE:
5095
5091
  case REACT_PROFILER_TYPE:
5096
5092
  case REACT_FRAGMENT_TYPE:
@@ -7143,10 +7139,8 @@
7143
7139
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
7144
7140
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
7145
7141
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
7146
- REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
7147
7142
  REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
7148
7143
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
7149
- REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
7150
7144
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
7151
7145
  isArrayImpl = Array.isArray,
7152
7146
  jsxPropsParents = new WeakMap(),
@@ -8473,26 +8467,18 @@
8473
8467
  );
8474
8468
  return getServerSnapshot();
8475
8469
  },
8476
- useCacheRefresh: function () {
8477
- return unsupportedRefresh;
8478
- },
8479
- useMemoCache: function (size) {
8480
- for (var data = Array(size), i = 0; i < size; i++)
8481
- data[i] = REACT_MEMO_CACHE_SENTINEL;
8482
- return data;
8470
+ useOptimistic: function (passthrough) {
8471
+ resolveCurrentlyRenderingComponent();
8472
+ return [passthrough, unsupportedSetOptimisticState];
8483
8473
  },
8474
+ useActionState: useActionState,
8475
+ useFormState: useActionState,
8484
8476
  useHostTransitionStatus: function () {
8485
8477
  resolveCurrentlyRenderingComponent();
8486
8478
  return NotPending;
8487
- },
8488
- useOptimistic: function (passthrough) {
8489
- resolveCurrentlyRenderingComponent();
8490
- return [passthrough, unsupportedSetOptimisticState];
8491
8479
  }
8492
- };
8493
- HooksDispatcher.useFormState = useActionState;
8494
- HooksDispatcher.useActionState = useActionState;
8495
- var currentResumableState = null,
8480
+ },
8481
+ currentResumableState = null,
8496
8482
  currentTaskInDEV = null,
8497
8483
  DefaultAsyncDispatcher = {
8498
8484
  getCacheForType: function () {
@@ -8570,5 +8556,5 @@
8570
8556
  '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'
8571
8557
  );
8572
8558
  };
8573
- exports.version = "19.1.0-canary-4dff0e62-20241213";
8559
+ exports.version = "19.1.0-canary-e06c72fc-20241215";
8574
8560
  })();