@@ -9670,7 +9670,7 @@ __DEV__ &&
96709670 finishedWork
96719671 )),
96729672 (lastEffect = void 0),
9673- enableUseResourceEffectHook &&
9673+ enableUseEffectCRUDOverload &&
96749674 (updateQueue.resourceKind === ResourceEffectIdentityKind &&
96759675 ((updateQueue.inst.resource = runWithFiberInDEV(
96769676 finishedWork,
@@ -9694,7 +9694,7 @@ __DEV__ &&
96949694 )),
96959695 (flags & Insertion) !== NoFlags &&
96969696 (isRunningInsertionEffect = !0),
9697- enableUseResourceEffectHook
9697+ enableUseEffectCRUDOverload
96989698 ? null == updateQueue.resourceKind &&
96999699 (lastEffect = runWithFiberInDEV(
97009700 finishedWork,
@@ -9729,7 +9729,7 @@ __DEV__ &&
97299729 ? "useLayoutEffect"
97309730 : 0 !== (updateQueue.tag & Insertion)
97319731 ? "useInsertionEffect"
9732- : enableUseResourceEffectHook &&
9732+ : enableUseEffectCRUDOverload &&
97339733 null != updateQueue.resourceKind
97349734 ? "useResourceEffect"
97359735 : "useEffect";
@@ -9780,7 +9780,7 @@ __DEV__ &&
97809780 var inst = updateQueue.inst,
97819781 destroy = inst.destroy;
97829782 if (void 0 !== destroy) {
9783- enableUseResourceEffectHook
9783+ enableUseEffectCRUDOverload
97849784 ? null == updateQueue.resourceKind && (inst.destroy = void 0)
97859785 : (inst.destroy = void 0);
97869786 enableSchedulingProfiler &&
@@ -9802,7 +9802,7 @@ __DEV__ &&
98029802 ));
98039803 (flags & Insertion) !== NoFlags &&
98049804 (isRunningInsertionEffect = !0);
9805- if (enableUseResourceEffectHook ) {
9805+ if (enableUseEffectCRUDOverload ) {
98069806 if (
98079807 updateQueue.resourceKind === ResourceEffectIdentityKind &&
98089808 null != updateQueue.inst.resource
@@ -15164,8 +15164,8 @@ __DEV__ &&
1516415164 enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration,
1516515165 enableSiblingPrerendering = dynamicFeatureFlags.enableSiblingPrerendering,
1516615166 enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing,
15167- enableUseResourceEffectHook =
15168- dynamicFeatureFlags.enableUseResourceEffectHook ,
15167+ enableUseEffectCRUDOverload =
15168+ dynamicFeatureFlags.enableUseEffectCRUDOverload ,
1516915169 renameElementSymbol = dynamicFeatureFlags.renameElementSymbol,
1517015170 retryLaneExpirationMs = dynamicFeatureFlags.retryLaneExpirationMs,
1517115171 syncLaneExpirationMs = dynamicFeatureFlags.syncLaneExpirationMs,
@@ -15643,7 +15643,7 @@ __DEV__ &&
1564315643 useCacheRefresh: throwInvalidHookError
1564415644 };
1564515645 ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
15646- enableUseResourceEffectHook &&
15646+ enableUseEffectCRUDOverload &&
1564715647 (ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
1564815648 var HooksDispatcherOnMountInDEV = null,
1564915649 HooksDispatcherOnMountWithHookTypesInDEV = null,
@@ -15784,7 +15784,7 @@ __DEV__ &&
1578415784 return mountEvent(callback);
1578515785 }
1578615786 };
15787- enableUseResourceEffectHook &&
15787+ enableUseEffectCRUDOverload &&
1578815788 (HooksDispatcherOnMountInDEV.useResourceEffect = function (
1578915789 create,
1579015790 createDeps,
@@ -15936,7 +15936,7 @@ __DEV__ &&
1593615936 return mountEvent(callback);
1593715937 }
1593815938 };
15939- enableUseResourceEffectHook &&
15939+ enableUseEffectCRUDOverload &&
1594015940 (HooksDispatcherOnMountWithHookTypesInDEV.useResourceEffect = function (
1594115941 create,
1594215942 createDeps,
@@ -16080,7 +16080,7 @@ __DEV__ &&
1608016080 return updateEvent(callback);
1608116081 }
1608216082 };
16083- enableUseResourceEffectHook &&
16083+ enableUseEffectCRUDOverload &&
1608416084 (HooksDispatcherOnUpdateInDEV.useResourceEffect = function (
1608516085 create,
1608616086 createDeps,
@@ -16226,7 +16226,7 @@ __DEV__ &&
1622616226 return updateEvent(callback);
1622716227 }
1622816228 };
16229- enableUseResourceEffectHook &&
16229+ enableUseEffectCRUDOverload &&
1623016230 (HooksDispatcherOnRerenderInDEV.useResourceEffect = function (
1623116231 create,
1623216232 createDeps,
@@ -16397,7 +16397,7 @@ __DEV__ &&
1639716397 return mountEvent(callback);
1639816398 }
1639916399 };
16400- enableUseResourceEffectHook &&
16400+ enableUseEffectCRUDOverload &&
1640116401 (InvalidNestedHooksDispatcherOnMountInDEV.useResourceEffect = function (
1640216402 create,
1640316403 createDeps,
@@ -16567,7 +16567,7 @@ __DEV__ &&
1656716567 return updateEvent(callback);
1656816568 }
1656916569 };
16570- enableUseResourceEffectHook &&
16570+ enableUseEffectCRUDOverload &&
1657116571 (InvalidNestedHooksDispatcherOnUpdateInDEV.useResourceEffect = function (
1657216572 create,
1657316573 createDeps,
@@ -16739,7 +16739,7 @@ __DEV__ &&
1673916739 return updateEvent(callback);
1674016740 }
1674116741 };
16742- enableUseResourceEffectHook &&
16742+ enableUseEffectCRUDOverload &&
1674316743 (InvalidNestedHooksDispatcherOnRerenderInDEV.useResourceEffect =
1674416744 function (create, createDeps, update, updateDeps, destroy) {
1674516745 currentHookNameInDev = "useResourceEffect";
@@ -16839,7 +16839,7 @@ __DEV__ &&
1683916839 ].bind(callComponentWillUnmount),
1684016840 callCreate = {
1684116841 "react-stack-bottom-frame": function (effect) {
16842- if (enableUseResourceEffectHook ) {
16842+ if (enableUseEffectCRUDOverload ) {
1684316843 if (null == effect.resourceKind) {
1684416844 var _create = effect.create;
1684516845 effect = effect.inst;
@@ -16863,7 +16863,7 @@ __DEV__ &&
1686316863 return (
1686416864 null != effect.resourceKind &&
1686516865 error$jscomp$0(
16866- "Expected only SimpleEffects when enableUseResourceEffectHook is disabled, got %s",
16866+ "Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",
1686716867 effect.resourceKind
1686816868 ),
1686916869 (_create = effect.create),
@@ -17413,10 +17413,10 @@ __DEV__ &&
1741317413 (function () {
1741417414 var internals = {
1741517415 bundleType: 1,
17416- version: "19.1.0-www-classic-899e3d12 -20250211",
17416+ version: "19.1.0-www-classic-0461c0d8 -20250211",
1741717417 rendererPackageName: "react-art",
1741817418 currentDispatcherRef: ReactSharedInternals,
17419- reconcilerVersion: "19.1.0-www-classic-899e3d12 -20250211"
17419+ reconcilerVersion: "19.1.0-www-classic-0461c0d8 -20250211"
1742017420 };
1742117421 internals.overrideHookState = overrideHookState;
1742217422 internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17450,7 +17450,7 @@ __DEV__ &&
1745017450 exports.Shape = Shape;
1745117451 exports.Surface = Surface;
1745217452 exports.Text = Text;
17453- exports.version = "19.1.0-www-classic-899e3d12 -20250211";
17453+ exports.version = "19.1.0-www-classic-0461c0d8 -20250211";
1745417454 "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1745517455 "function" ===
1745617456 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
0 commit comments