react-dom 19.2.0-canary-8bb7241f-20250926 → 19.2.0-canary-d15d7fd7-20250929

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.
@@ -5259,6 +5259,28 @@ function mountEffect(create, deps) {
5259
5259
  function updateEffect(create, deps) {
5260
5260
  updateEffectImpl(2048, 8, create, deps);
5261
5261
  }
5262
+ function useEffectEventImpl(payload) {
5263
+ currentlyRenderingFiber.flags |= 4;
5264
+ var componentUpdateQueue = currentlyRenderingFiber.updateQueue;
5265
+ if (null === componentUpdateQueue)
5266
+ (componentUpdateQueue = createFunctionComponentUpdateQueue()),
5267
+ (currentlyRenderingFiber.updateQueue = componentUpdateQueue),
5268
+ (componentUpdateQueue.events = [payload]);
5269
+ else {
5270
+ var events = componentUpdateQueue.events;
5271
+ null === events
5272
+ ? (componentUpdateQueue.events = [payload])
5273
+ : events.push(payload);
5274
+ }
5275
+ }
5276
+ function updateEvent(callback) {
5277
+ var ref = updateWorkInProgressHook().memoizedState;
5278
+ useEffectEventImpl({ ref: ref, nextImpl: callback });
5279
+ return function () {
5280
+ if (0 !== (executionContext & 2)) throw Error(formatProdErrorMessage(440));
5281
+ return ref.impl.apply(void 0, arguments);
5282
+ };
5283
+ }
5262
5284
  function updateInsertionEffect(create, deps) {
5263
5285
  return updateEffectImpl(4, 2, create, deps);
5264
5286
  }
@@ -5600,31 +5622,32 @@ function entangleTransitionUpdate(root, queue, lane) {
5600
5622
  }
5601
5623
  }
5602
5624
  var ContextOnlyDispatcher = {
5603
- readContext: readContext,
5604
- use: use,
5605
- useCallback: throwInvalidHookError,
5606
- useContext: throwInvalidHookError,
5607
- useEffect: throwInvalidHookError,
5608
- useImperativeHandle: throwInvalidHookError,
5609
- useLayoutEffect: throwInvalidHookError,
5610
- useInsertionEffect: throwInvalidHookError,
5611
- useMemo: throwInvalidHookError,
5612
- useReducer: throwInvalidHookError,
5613
- useRef: throwInvalidHookError,
5614
- useState: throwInvalidHookError,
5615
- useDebugValue: throwInvalidHookError,
5616
- useDeferredValue: throwInvalidHookError,
5617
- useTransition: throwInvalidHookError,
5618
- useSyncExternalStore: throwInvalidHookError,
5619
- useId: throwInvalidHookError,
5620
- useHostTransitionStatus: throwInvalidHookError,
5621
- useFormState: throwInvalidHookError,
5622
- useActionState: throwInvalidHookError,
5623
- useOptimistic: throwInvalidHookError,
5624
- useMemoCache: throwInvalidHookError,
5625
- useCacheRefresh: throwInvalidHookError
5626
- },
5627
- HooksDispatcherOnMount = {
5625
+ readContext: readContext,
5626
+ use: use,
5627
+ useCallback: throwInvalidHookError,
5628
+ useContext: throwInvalidHookError,
5629
+ useEffect: throwInvalidHookError,
5630
+ useImperativeHandle: throwInvalidHookError,
5631
+ useLayoutEffect: throwInvalidHookError,
5632
+ useInsertionEffect: throwInvalidHookError,
5633
+ useMemo: throwInvalidHookError,
5634
+ useReducer: throwInvalidHookError,
5635
+ useRef: throwInvalidHookError,
5636
+ useState: throwInvalidHookError,
5637
+ useDebugValue: throwInvalidHookError,
5638
+ useDeferredValue: throwInvalidHookError,
5639
+ useTransition: throwInvalidHookError,
5640
+ useSyncExternalStore: throwInvalidHookError,
5641
+ useId: throwInvalidHookError,
5642
+ useHostTransitionStatus: throwInvalidHookError,
5643
+ useFormState: throwInvalidHookError,
5644
+ useActionState: throwInvalidHookError,
5645
+ useOptimistic: throwInvalidHookError,
5646
+ useMemoCache: throwInvalidHookError,
5647
+ useCacheRefresh: throwInvalidHookError
5648
+ };
5649
+ ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
5650
+ var HooksDispatcherOnMount = {
5628
5651
  readContext: readContext,
5629
5652
  use: use,
5630
5653
  useCallback: function (callback, deps) {
@@ -5814,6 +5837,16 @@ var ContextOnlyDispatcher = {
5814
5837
  null,
5815
5838
  currentlyRenderingFiber
5816
5839
  ));
5840
+ },
5841
+ useEffectEvent: function (callback) {
5842
+ var hook = mountWorkInProgressHook(),
5843
+ ref = { impl: callback };
5844
+ hook.memoizedState = ref;
5845
+ return function () {
5846
+ if (0 !== (executionContext & 2))
5847
+ throw Error(formatProdErrorMessage(440));
5848
+ return ref.impl.apply(void 0, arguments);
5849
+ };
5817
5850
  }
5818
5851
  },
5819
5852
  HooksDispatcherOnUpdate = {
@@ -5862,59 +5895,61 @@ var ContextOnlyDispatcher = {
5862
5895
  },
5863
5896
  useMemoCache: useMemoCache,
5864
5897
  useCacheRefresh: updateRefresh
5865
- },
5866
- HooksDispatcherOnRerender = {
5867
- readContext: readContext,
5868
- use: use,
5869
- useCallback: updateCallback,
5870
- useContext: readContext,
5871
- useEffect: updateEffect,
5872
- useImperativeHandle: updateImperativeHandle,
5873
- useInsertionEffect: updateInsertionEffect,
5874
- useLayoutEffect: updateLayoutEffect,
5875
- useMemo: updateMemo,
5876
- useReducer: rerenderReducer,
5877
- useRef: updateRef,
5878
- useState: function () {
5879
- return rerenderReducer(basicStateReducer);
5880
- },
5881
- useDebugValue: mountDebugValue,
5882
- useDeferredValue: function (value, initialValue) {
5883
- var hook = updateWorkInProgressHook();
5884
- return null === currentHook
5885
- ? mountDeferredValueImpl(hook, value, initialValue)
5886
- : updateDeferredValueImpl(
5887
- hook,
5888
- currentHook.memoizedState,
5889
- value,
5890
- initialValue
5891
- );
5892
- },
5893
- useTransition: function () {
5894
- var booleanOrThenable = rerenderReducer(basicStateReducer)[0],
5895
- start = updateWorkInProgressHook().memoizedState;
5896
- return [
5897
- "boolean" === typeof booleanOrThenable
5898
- ? booleanOrThenable
5899
- : useThenable(booleanOrThenable),
5900
- start
5901
- ];
5902
- },
5903
- useSyncExternalStore: updateSyncExternalStore,
5904
- useId: updateId,
5905
- useHostTransitionStatus: useHostTransitionStatus,
5906
- useFormState: rerenderActionState,
5907
- useActionState: rerenderActionState,
5908
- useOptimistic: function (passthrough, reducer) {
5909
- var hook = updateWorkInProgressHook();
5910
- if (null !== currentHook)
5911
- return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
5912
- hook.baseState = passthrough;
5913
- return [passthrough, hook.queue.dispatch];
5914
- },
5915
- useMemoCache: useMemoCache,
5916
- useCacheRefresh: updateRefresh
5917
5898
  };
5899
+ HooksDispatcherOnUpdate.useEffectEvent = updateEvent;
5900
+ var HooksDispatcherOnRerender = {
5901
+ readContext: readContext,
5902
+ use: use,
5903
+ useCallback: updateCallback,
5904
+ useContext: readContext,
5905
+ useEffect: updateEffect,
5906
+ useImperativeHandle: updateImperativeHandle,
5907
+ useInsertionEffect: updateInsertionEffect,
5908
+ useLayoutEffect: updateLayoutEffect,
5909
+ useMemo: updateMemo,
5910
+ useReducer: rerenderReducer,
5911
+ useRef: updateRef,
5912
+ useState: function () {
5913
+ return rerenderReducer(basicStateReducer);
5914
+ },
5915
+ useDebugValue: mountDebugValue,
5916
+ useDeferredValue: function (value, initialValue) {
5917
+ var hook = updateWorkInProgressHook();
5918
+ return null === currentHook
5919
+ ? mountDeferredValueImpl(hook, value, initialValue)
5920
+ : updateDeferredValueImpl(
5921
+ hook,
5922
+ currentHook.memoizedState,
5923
+ value,
5924
+ initialValue
5925
+ );
5926
+ },
5927
+ useTransition: function () {
5928
+ var booleanOrThenable = rerenderReducer(basicStateReducer)[0],
5929
+ start = updateWorkInProgressHook().memoizedState;
5930
+ return [
5931
+ "boolean" === typeof booleanOrThenable
5932
+ ? booleanOrThenable
5933
+ : useThenable(booleanOrThenable),
5934
+ start
5935
+ ];
5936
+ },
5937
+ useSyncExternalStore: updateSyncExternalStore,
5938
+ useId: updateId,
5939
+ useHostTransitionStatus: useHostTransitionStatus,
5940
+ useFormState: rerenderActionState,
5941
+ useActionState: rerenderActionState,
5942
+ useOptimistic: function (passthrough, reducer) {
5943
+ var hook = updateWorkInProgressHook();
5944
+ if (null !== currentHook)
5945
+ return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
5946
+ hook.baseState = passthrough;
5947
+ return [passthrough, hook.queue.dispatch];
5948
+ },
5949
+ useMemoCache: useMemoCache,
5950
+ useCacheRefresh: updateRefresh
5951
+ };
5952
+ HooksDispatcherOnRerender.useEffectEvent = updateEvent;
5918
5953
  function applyDerivedStateFromProps(
5919
5954
  workInProgress,
5920
5955
  ctor,
@@ -9309,7 +9344,7 @@ function commitBeforeMutationEffects(root, firstChild) {
9309
9344
  if (
9310
9345
  ((firstChild = nextEffect),
9311
9346
  (root = firstChild.child),
9312
- 0 !== (firstChild.subtreeFlags & 1024) && null !== root)
9347
+ 0 !== (firstChild.subtreeFlags & 1028) && null !== root)
9313
9348
  )
9314
9349
  (root.return = firstChild), (nextEffect = root);
9315
9350
  else
@@ -9319,6 +9354,19 @@ function commitBeforeMutationEffects(root, firstChild) {
9319
9354
  root = firstChild.flags;
9320
9355
  switch (firstChild.tag) {
9321
9356
  case 0:
9357
+ if (
9358
+ 0 !== (root & 4) &&
9359
+ ((root = firstChild.updateQueue),
9360
+ (root = null !== root ? root.events : null),
9361
+ null !== root)
9362
+ )
9363
+ for (
9364
+ JSCompiler_temp = 0;
9365
+ JSCompiler_temp < root.length;
9366
+ JSCompiler_temp++
9367
+ )
9368
+ (anchorOffset = root[JSCompiler_temp]),
9369
+ (anchorOffset.ref.impl = anchorOffset.nextImpl);
9322
9370
  break;
9323
9371
  case 11:
9324
9372
  case 15:
@@ -12840,20 +12888,20 @@ function extractEvents$1(
12840
12888
  }
12841
12889
  }
12842
12890
  for (
12843
- var i$jscomp$inline_1672 = 0;
12844
- i$jscomp$inline_1672 < simpleEventPluginEvents.length;
12845
- i$jscomp$inline_1672++
12891
+ var i$jscomp$inline_1678 = 0;
12892
+ i$jscomp$inline_1678 < simpleEventPluginEvents.length;
12893
+ i$jscomp$inline_1678++
12846
12894
  ) {
12847
- var eventName$jscomp$inline_1673 =
12848
- simpleEventPluginEvents[i$jscomp$inline_1672],
12849
- domEventName$jscomp$inline_1674 =
12850
- eventName$jscomp$inline_1673.toLowerCase(),
12851
- capitalizedEvent$jscomp$inline_1675 =
12852
- eventName$jscomp$inline_1673[0].toUpperCase() +
12853
- eventName$jscomp$inline_1673.slice(1);
12895
+ var eventName$jscomp$inline_1679 =
12896
+ simpleEventPluginEvents[i$jscomp$inline_1678],
12897
+ domEventName$jscomp$inline_1680 =
12898
+ eventName$jscomp$inline_1679.toLowerCase(),
12899
+ capitalizedEvent$jscomp$inline_1681 =
12900
+ eventName$jscomp$inline_1679[0].toUpperCase() +
12901
+ eventName$jscomp$inline_1679.slice(1);
12854
12902
  registerSimpleEvent(
12855
- domEventName$jscomp$inline_1674,
12856
- "on" + capitalizedEvent$jscomp$inline_1675
12903
+ domEventName$jscomp$inline_1680,
12904
+ "on" + capitalizedEvent$jscomp$inline_1681
12857
12905
  );
12858
12906
  }
12859
12907
  registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -16571,16 +16619,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
16571
16619
  0 === i && attemptExplicitHydrationTarget(target);
16572
16620
  }
16573
16621
  };
16574
- var isomorphicReactPackageVersion$jscomp$inline_1937 = React.version;
16622
+ var isomorphicReactPackageVersion$jscomp$inline_1943 = React.version;
16575
16623
  if (
16576
- "19.2.0-canary-8bb7241f-20250926" !==
16577
- isomorphicReactPackageVersion$jscomp$inline_1937
16624
+ "19.2.0-canary-d15d7fd7-20250929" !==
16625
+ isomorphicReactPackageVersion$jscomp$inline_1943
16578
16626
  )
16579
16627
  throw Error(
16580
16628
  formatProdErrorMessage(
16581
16629
  527,
16582
- isomorphicReactPackageVersion$jscomp$inline_1937,
16583
- "19.2.0-canary-8bb7241f-20250926"
16630
+ isomorphicReactPackageVersion$jscomp$inline_1943,
16631
+ "19.2.0-canary-d15d7fd7-20250929"
16584
16632
  )
16585
16633
  );
16586
16634
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16600,12 +16648,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
16600
16648
  null === componentOrElement ? null : componentOrElement.stateNode;
16601
16649
  return componentOrElement;
16602
16650
  };
16603
- var internals$jscomp$inline_1944 = {
16651
+ var internals$jscomp$inline_1950 = {
16604
16652
  bundleType: 0,
16605
- version: "19.2.0-canary-8bb7241f-20250926",
16653
+ version: "19.2.0-canary-d15d7fd7-20250929",
16606
16654
  rendererPackageName: "react-dom",
16607
16655
  currentDispatcherRef: ReactSharedInternals,
16608
- reconcilerVersion: "19.2.0-canary-8bb7241f-20250926",
16656
+ reconcilerVersion: "19.2.0-canary-d15d7fd7-20250929",
16609
16657
  getLaneLabelMap: function () {
16610
16658
  for (
16611
16659
  var map = new Map(), lane = 1, index$282 = 0;
@@ -16623,16 +16671,16 @@ var internals$jscomp$inline_1944 = {
16623
16671
  }
16624
16672
  };
16625
16673
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
16626
- var hook$jscomp$inline_2408 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
16674
+ var hook$jscomp$inline_2418 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
16627
16675
  if (
16628
- !hook$jscomp$inline_2408.isDisabled &&
16629
- hook$jscomp$inline_2408.supportsFiber
16676
+ !hook$jscomp$inline_2418.isDisabled &&
16677
+ hook$jscomp$inline_2418.supportsFiber
16630
16678
  )
16631
16679
  try {
16632
- (rendererID = hook$jscomp$inline_2408.inject(
16633
- internals$jscomp$inline_1944
16680
+ (rendererID = hook$jscomp$inline_2418.inject(
16681
+ internals$jscomp$inline_1950
16634
16682
  )),
16635
- (injectedHook = hook$jscomp$inline_2408);
16683
+ (injectedHook = hook$jscomp$inline_2418);
16636
16684
  } catch (err) {}
16637
16685
  }
16638
16686
  function getCrossOriginStringAs(as, input) {
@@ -16878,7 +16926,7 @@ exports.useFormState = function (action, initialState, permalink) {
16878
16926
  exports.useFormStatus = function () {
16879
16927
  return ReactSharedInternals.H.useHostTransitionStatus();
16880
16928
  };
16881
- exports.version = "19.2.0-canary-8bb7241f-20250926";
16929
+ exports.version = "19.2.0-canary-d15d7fd7-20250929";
16882
16930
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
16883
16931
  "function" ===
16884
16932
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -3987,6 +3987,11 @@
3987
3987
  queue.next = componentIdentity;
3988
3988
  }
3989
3989
  }
3990
+ function throwOnUseEffectEventCall() {
3991
+ throw Error(
3992
+ "A function wrapped in useEffectEvent can't be called during rendering."
3993
+ );
3994
+ }
3990
3995
  function unsupportedStartTransition() {
3991
3996
  throw Error("startTransition cannot be called during server rendering.");
3992
3997
  }
@@ -9656,6 +9661,9 @@
9656
9661
  },
9657
9662
  useCacheRefresh: function () {
9658
9663
  return unsupportedRefresh;
9664
+ },
9665
+ useEffectEvent: function () {
9666
+ return throwOnUseEffectEventCall;
9659
9667
  }
9660
9668
  },
9661
9669
  currentResumableState = null,
@@ -9758,5 +9766,5 @@
9758
9766
  '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'
9759
9767
  );
9760
9768
  };
9761
- exports.version = "19.2.0-canary-8bb7241f-20250926";
9769
+ exports.version = "19.2.0-canary-d15d7fd7-20250929";
9762
9770
  })();
@@ -3238,6 +3238,9 @@ function dispatchAction(componentIdentity, queue, action) {
3238
3238
  queue.next = componentIdentity;
3239
3239
  }
3240
3240
  }
3241
+ function throwOnUseEffectEventCall() {
3242
+ throw Error(formatProdErrorMessage(440));
3243
+ }
3241
3244
  function unsupportedStartTransition() {
3242
3245
  throw Error(formatProdErrorMessage(394));
3243
3246
  }
@@ -3402,6 +3405,9 @@ var HooksDispatcher = {
3402
3405
  },
3403
3406
  useCacheRefresh: function () {
3404
3407
  return unsupportedRefresh;
3408
+ },
3409
+ useEffectEvent: function () {
3410
+ return throwOnUseEffectEventCall;
3405
3411
  }
3406
3412
  },
3407
3413
  currentResumableState = null,
@@ -6505,4 +6511,4 @@ exports.renderToString = function (children, options) {
6505
6511
  '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'
6506
6512
  );
6507
6513
  };
6508
- exports.version = "19.2.0-canary-8bb7241f-20250926";
6514
+ exports.version = "19.2.0-canary-d15d7fd7-20250929";
@@ -3987,6 +3987,11 @@
3987
3987
  queue.next = componentIdentity;
3988
3988
  }
3989
3989
  }
3990
+ function throwOnUseEffectEventCall() {
3991
+ throw Error(
3992
+ "A function wrapped in useEffectEvent can't be called during rendering."
3993
+ );
3994
+ }
3990
3995
  function unsupportedStartTransition() {
3991
3996
  throw Error("startTransition cannot be called during server rendering.");
3992
3997
  }
@@ -9656,6 +9661,9 @@
9656
9661
  },
9657
9662
  useCacheRefresh: function () {
9658
9663
  return unsupportedRefresh;
9664
+ },
9665
+ useEffectEvent: function () {
9666
+ return throwOnUseEffectEventCall;
9659
9667
  }
9660
9668
  },
9661
9669
  currentResumableState = null,
@@ -9758,5 +9766,5 @@
9758
9766
  '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'
9759
9767
  );
9760
9768
  };
9761
- exports.version = "19.2.0-canary-8bb7241f-20250926";
9769
+ exports.version = "19.2.0-canary-d15d7fd7-20250929";
9762
9770
  })();
@@ -3280,6 +3280,11 @@ function dispatchAction(componentIdentity, queue, action) {
3280
3280
  queue.next = componentIdentity;
3281
3281
  }
3282
3282
  }
3283
+ function throwOnUseEffectEventCall() {
3284
+ throw Error(
3285
+ "A function wrapped in useEffectEvent can't be called during rendering."
3286
+ );
3287
+ }
3283
3288
  function unsupportedStartTransition() {
3284
3289
  throw Error("startTransition cannot be called during server rendering.");
3285
3290
  }
@@ -3449,6 +3454,9 @@ var HooksDispatcher = {
3449
3454
  },
3450
3455
  useCacheRefresh: function () {
3451
3456
  return unsupportedRefresh;
3457
+ },
3458
+ useEffectEvent: function () {
3459
+ return throwOnUseEffectEventCall;
3452
3460
  }
3453
3461
  },
3454
3462
  currentResumableState = null,
@@ -6588,4 +6596,4 @@ exports.renderToString = function (children, options) {
6588
6596
  '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'
6589
6597
  );
6590
6598
  };
6591
- exports.version = "19.2.0-canary-8bb7241f-20250926";
6599
+ exports.version = "19.2.0-canary-d15d7fd7-20250929";
@@ -4146,6 +4146,11 @@
4146
4146
  queue.next = componentIdentity;
4147
4147
  }
4148
4148
  }
4149
+ function throwOnUseEffectEventCall() {
4150
+ throw Error(
4151
+ "A function wrapped in useEffectEvent can't be called during rendering."
4152
+ );
4153
+ }
4149
4154
  function unsupportedStartTransition() {
4150
4155
  throw Error("startTransition cannot be called during server rendering.");
4151
4156
  }
@@ -8508,11 +8513,11 @@
8508
8513
  }
8509
8514
  function ensureCorrectIsomorphicReactVersion() {
8510
8515
  var isomorphicReactPackageVersion = React.version;
8511
- if ("19.2.0-canary-8bb7241f-20250926" !== isomorphicReactPackageVersion)
8516
+ if ("19.2.0-canary-d15d7fd7-20250929" !== isomorphicReactPackageVersion)
8512
8517
  throw Error(
8513
8518
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8514
8519
  (isomorphicReactPackageVersion +
8515
- "\n - react-dom: 19.2.0-canary-8bb7241f-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
8520
+ "\n - react-dom: 19.2.0-canary-d15d7fd7-20250929\nLearn more: https://react.dev/warnings/version-mismatch")
8516
8521
  );
8517
8522
  }
8518
8523
  var React = require("react"),
@@ -9978,6 +9983,9 @@
9978
9983
  },
9979
9984
  useCacheRefresh: function () {
9980
9985
  return unsupportedRefresh;
9986
+ },
9987
+ useEffectEvent: function () {
9988
+ return throwOnUseEffectEventCall;
9981
9989
  }
9982
9990
  },
9983
9991
  currentResumableState = null,
@@ -10207,5 +10215,5 @@
10207
10215
  startWork(request);
10208
10216
  });
10209
10217
  };
10210
- exports.version = "19.2.0-canary-8bb7241f-20250926";
10218
+ exports.version = "19.2.0-canary-d15d7fd7-20250929";
10211
10219
  })();
@@ -3625,6 +3625,9 @@ function dispatchAction(componentIdentity, queue, action) {
3625
3625
  queue.next = componentIdentity;
3626
3626
  }
3627
3627
  }
3628
+ function throwOnUseEffectEventCall() {
3629
+ throw Error(formatProdErrorMessage(440));
3630
+ }
3628
3631
  function unsupportedStartTransition() {
3629
3632
  throw Error(formatProdErrorMessage(394));
3630
3633
  }
@@ -3788,6 +3791,9 @@ var HooksDispatcher = {
3788
3791
  },
3789
3792
  useCacheRefresh: function () {
3790
3793
  return unsupportedRefresh;
3794
+ },
3795
+ useEffectEvent: function () {
3796
+ return throwOnUseEffectEventCall;
3791
3797
  }
3792
3798
  },
3793
3799
  currentResumableState = null,
@@ -6896,12 +6902,12 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
6896
6902
  }
6897
6903
  function ensureCorrectIsomorphicReactVersion() {
6898
6904
  var isomorphicReactPackageVersion = React.version;
6899
- if ("19.2.0-canary-8bb7241f-20250926" !== isomorphicReactPackageVersion)
6905
+ if ("19.2.0-canary-d15d7fd7-20250929" !== isomorphicReactPackageVersion)
6900
6906
  throw Error(
6901
6907
  formatProdErrorMessage(
6902
6908
  527,
6903
6909
  isomorphicReactPackageVersion,
6904
- "19.2.0-canary-8bb7241f-20250926"
6910
+ "19.2.0-canary-d15d7fd7-20250929"
6905
6911
  )
6906
6912
  );
6907
6913
  }
@@ -7048,4 +7054,4 @@ exports.renderToReadableStream = function (children, options) {
7048
7054
  startWork(request);
7049
7055
  });
7050
7056
  };
7051
- exports.version = "19.2.0-canary-8bb7241f-20250926";
7057
+ exports.version = "19.2.0-canary-d15d7fd7-20250929";
@@ -5134,6 +5134,11 @@ function dispatchAction(componentIdentity, queue, action) {
5134
5134
  queue.next = componentIdentity;
5135
5135
  }
5136
5136
  }
5137
+ function throwOnUseEffectEventCall() {
5138
+ throw Error(
5139
+ "A function wrapped in useEffectEvent can't be called during rendering."
5140
+ );
5141
+ }
5137
5142
  function unsupportedStartTransition() {
5138
5143
  throw Error("startTransition cannot be called during server rendering.");
5139
5144
  }
@@ -5299,6 +5304,9 @@ var HooksDispatcher = {
5299
5304
  },
5300
5305
  useCacheRefresh: function () {
5301
5306
  return unsupportedRefresh;
5307
+ },
5308
+ useEffectEvent: function () {
5309
+ return throwOnUseEffectEventCall;
5302
5310
  }
5303
5311
  },
5304
5312
  currentResumableState = null,
@@ -9391,13 +9399,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
9391
9399
  }
9392
9400
  var isomorphicReactPackageVersion$jscomp$inline_766 = React.version;
9393
9401
  if (
9394
- "19.2.0-canary-8bb7241f-20250926" !==
9402
+ "19.2.0-canary-d15d7fd7-20250929" !==
9395
9403
  isomorphicReactPackageVersion$jscomp$inline_766
9396
9404
  )
9397
9405
  throw Error(
9398
9406
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
9399
9407
  (isomorphicReactPackageVersion$jscomp$inline_766 +
9400
- "\n - react-dom: 19.2.0-canary-8bb7241f-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
9408
+ "\n - react-dom: 19.2.0-canary-d15d7fd7-20250929\nLearn more: https://react.dev/warnings/version-mismatch")
9401
9409
  );
9402
9410
  exports.renderToReadableStream = function (children, options) {
9403
9411
  return new Promise(function (resolve, reject) {
@@ -9490,4 +9498,4 @@ exports.renderToReadableStream = function (children, options) {
9490
9498
  startWork(request$jscomp$0);
9491
9499
  });
9492
9500
  };
9493
- exports.version = "19.2.0-canary-8bb7241f-20250926";
9501
+ exports.version = "19.2.0-canary-d15d7fd7-20250929";
@@ -3266,6 +3266,11 @@ function dispatchAction(componentIdentity, queue, action) {
3266
3266
  queue.next = componentIdentity;
3267
3267
  }
3268
3268
  }
3269
+ function throwOnUseEffectEventCall() {
3270
+ throw Error(
3271
+ "A function wrapped in useEffectEvent can't be called during rendering."
3272
+ );
3273
+ }
3269
3274
  function unsupportedStartTransition() {
3270
3275
  throw Error("startTransition cannot be called during server rendering.");
3271
3276
  }
@@ -3432,6 +3437,9 @@ var HooksDispatcher = {
3432
3437
  },
3433
3438
  useCacheRefresh: function () {
3434
3439
  return unsupportedRefresh;
3440
+ },
3441
+ useEffectEvent: function () {
3442
+ return throwOnUseEffectEventCall;
3435
3443
  }
3436
3444
  },
3437
3445
  currentResumableState = null,
@@ -6544,13 +6552,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
6544
6552
  }
6545
6553
  var isomorphicReactPackageVersion$jscomp$inline_818 = React.version;
6546
6554
  if (
6547
- "19.2.0-canary-8bb7241f-20250926" !==
6555
+ "19.2.0-canary-d15d7fd7-20250929" !==
6548
6556
  isomorphicReactPackageVersion$jscomp$inline_818
6549
6557
  )
6550
6558
  throw Error(
6551
6559
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6552
6560
  (isomorphicReactPackageVersion$jscomp$inline_818 +
6553
- "\n - react-dom: 19.2.0-canary-8bb7241f-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
6561
+ "\n - react-dom: 19.2.0-canary-d15d7fd7-20250929\nLearn more: https://react.dev/warnings/version-mismatch")
6554
6562
  );
6555
6563
  exports.renderToReadableStream = function (children, options) {
6556
6564
  return new Promise(function (resolve, reject) {
@@ -6641,4 +6649,4 @@ exports.renderToReadableStream = function (children, options) {
6641
6649
  startWork(request);
6642
6650
  });
6643
6651
  };
6644
- exports.version = "19.2.0-canary-8bb7241f-20250926";
6652
+ exports.version = "19.2.0-canary-d15d7fd7-20250929";
@@ -4142,6 +4142,11 @@
4142
4142
  queue.next = componentIdentity;
4143
4143
  }
4144
4144
  }
4145
+ function throwOnUseEffectEventCall() {
4146
+ throw Error(
4147
+ "A function wrapped in useEffectEvent can't be called during rendering."
4148
+ );
4149
+ }
4145
4150
  function unsupportedStartTransition() {
4146
4151
  throw Error("startTransition cannot be called during server rendering.");
4147
4152
  }
@@ -8531,11 +8536,11 @@
8531
8536
  }
8532
8537
  function ensureCorrectIsomorphicReactVersion() {
8533
8538
  var isomorphicReactPackageVersion = React.version;
8534
- if ("19.2.0-canary-8bb7241f-20250926" !== isomorphicReactPackageVersion)
8539
+ if ("19.2.0-canary-d15d7fd7-20250929" !== isomorphicReactPackageVersion)
8535
8540
  throw Error(
8536
8541
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8537
8542
  (isomorphicReactPackageVersion +
8538
- "\n - react-dom: 19.2.0-canary-8bb7241f-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
8543
+ "\n - react-dom: 19.2.0-canary-d15d7fd7-20250929\nLearn more: https://react.dev/warnings/version-mismatch")
8539
8544
  );
8540
8545
  }
8541
8546
  var React = require("react"),
@@ -9997,6 +10002,9 @@
9997
10002
  },
9998
10003
  useCacheRefresh: function () {
9999
10004
  return unsupportedRefresh;
10005
+ },
10006
+ useEffectEvent: function () {
10007
+ return throwOnUseEffectEventCall;
10000
10008
  }
10001
10009
  },
10002
10010
  currentResumableState = null,
@@ -10226,5 +10234,5 @@
10226
10234
  startWork(request);
10227
10235
  });
10228
10236
  };
10229
- exports.version = "19.2.0-canary-8bb7241f-20250926";
10237
+ exports.version = "19.2.0-canary-d15d7fd7-20250929";
10230
10238
  })();