@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
6969 return self;
7070}
7171
72- var ReactVersion = "18.3.0-www-classic-1613cb4a ";
72+ var ReactVersion = "18.3.0-www-classic-04278c02 ";
7373
7474var LegacyRoot = 0;
7575var ConcurrentRoot = 1;
@@ -175,7 +175,6 @@ var replayFailedUnitOfWorkWithInvokeGuardedCallback =
175175 enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing,
176176 enableDeferRootSchedulingToMicrotask =
177177 dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask,
178- diffInCommitPhase = dynamicFeatureFlags.diffInCommitPhase,
179178 enableAsyncActions = dynamicFeatureFlags.enableAsyncActions,
180179 alwaysThrottleRetries = dynamicFeatureFlags.alwaysThrottleRetries,
181180 enableDO_NOT_USE_disableStrictPassiveEffect =
@@ -2534,11 +2533,9 @@ var suspendResource = shim;
25342533
25352534var pooledTransform = new Transform();
25362535var NO_CONTEXT = {};
2537- var UPDATE_SIGNAL = {};
25382536
25392537{
25402538 Object.freeze(NO_CONTEXT);
2541- Object.freeze(UPDATE_SIGNAL);
25422539}
25432540/** Helper Methods */
25442541
@@ -2819,9 +2816,6 @@ function prepareForCommit() {
28192816 // Noop
28202817 return null;
28212818}
2822- function prepareUpdate(domElement, type, oldProps, newProps) {
2823- return UPDATE_SIGNAL;
2824- }
28252819function resetTextContent(domElement) {
28262820 // Noop
28272821}
@@ -18213,22 +18207,7 @@ function updateHostComponent(
1821318207 return;
1821418208 }
1821518209
18216- if (diffInCommitPhase) {
18217- markUpdate(workInProgress);
18218- } else {
18219- // component is hitting the resume path. Figure out why. Possibly
18220- // related to `hidden`.
18221-
18222- getHostContext();
18223- var updatePayload = prepareUpdate(); // TODO: Type this specific to this type of component.
18224-
18225- workInProgress.updateQueue = updatePayload; // If the update payload indicates that there is a change or if there
18226- // is a new ref we mark this as an update. All the work is done in commitWork.
18227-
18228- if (updatePayload) {
18229- markUpdate(workInProgress);
18230- }
18231- }
18210+ markUpdate(workInProgress);
1823218211 }
1823318212} // This function must be called at the very end of the complete phase, because
1823418213// it might throw to suspend, and if the resource immediately loads, the work
@@ -18713,11 +18692,7 @@ function completeWork(current, workInProgress, renderLanes) {
1871318692 if (_wasHydrated2) {
1871418693 // TODO: Move this and createInstance step into the beginPhase
1871518694 // to consolidate.
18716- if (prepareToHydrateHostInstance()) {
18717- // If changes to the hydrated node need to be applied at the
18718- // commit-phase we mark this as such.
18719- markUpdate(workInProgress);
18720- }
18695+ prepareToHydrateHostInstance();
1872118696 } else {
1872218697 getRootHostContainer();
1872318698
@@ -21856,23 +21831,17 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
2185621831 var _updatePayload = finishedWork.updateQueue;
2185721832 finishedWork.updateQueue = null;
2185821833
21859- if (_updatePayload !== null || diffInCommitPhase) {
21860- try {
21861- commitUpdate(
21862- _instance2,
21863- _updatePayload,
21864- type,
21865- oldProps,
21866- newProps,
21867- finishedWork
21868- );
21869- } catch (error) {
21870- captureCommitPhaseError(
21871- finishedWork,
21872- finishedWork.return,
21873- error
21874- );
21875- }
21834+ try {
21835+ commitUpdate(
21836+ _instance2,
21837+ _updatePayload,
21838+ type,
21839+ oldProps,
21840+ newProps,
21841+ finishedWork
21842+ );
21843+ } catch (error) {
21844+ captureCommitPhaseError(finishedWork, finishedWork.return, error);
2187621845 }
2187721846 }
2187821847 }
0 commit comments