@@ -66,7 +66,7 @@ if (__DEV__) {
6666 return self;
6767 }
6868
69- var ReactVersion = "18.3.0-www-classic-81c495cd ";
69+ var ReactVersion = "18.3.0-www-classic-db11990b ";
7070
7171 var LegacyRoot = 0;
7272 var ConcurrentRoot = 1;
@@ -194,8 +194,6 @@ if (__DEV__) {
194194 var enableProfilerTimer = true;
195195 var enableProfilerCommitHooks = true;
196196 var enableProfilerNestedUpdatePhase = true;
197- var enableProfilerNestedUpdateScheduledHook =
198- dynamicFeatureFlags.enableProfilerNestedUpdateScheduledHook;
199197 var enableAsyncActions = true; // Logs additional User Timing API marks for use with an experimental profiling tool.
200198
201199 var enableSchedulingProfiler = dynamicFeatureFlags.enableSchedulingProfiler;
@@ -25344,10 +25342,7 @@ if (__DEV__) {
2534425342 }
2534525343 var hasUncaughtError = false;
2534625344 var firstUncaughtError = null;
25347- var legacyErrorBoundariesThatAlreadyFailed = null; // Only used when enableProfilerNestedUpdateScheduledHook is true;
25348- // to track which root is currently committing layout effects.
25349-
25350- var rootCommittingMutationOrLayoutEffects = null;
25345+ var legacyErrorBoundariesThatAlreadyFailed = null;
2535125346 var rootDoesHavePassiveEffects = false;
2535225347 var rootWithPendingPassiveEffects = null;
2535325348 var pendingPassiveEffectsLanes = NoLanes;
@@ -25543,32 +25538,6 @@ if (__DEV__) {
2554325538
2554425539 warnIfUpdatesNotWrappedWithActDEV(fiber);
2554525540
25546- if (enableProfilerNestedUpdateScheduledHook) {
25547- if (
25548- (executionContext & CommitContext) !== NoContext &&
25549- root === rootCommittingMutationOrLayoutEffects
25550- ) {
25551- if (fiber.mode & ProfileMode) {
25552- var current = fiber;
25553-
25554- while (current !== null) {
25555- if (current.tag === Profiler) {
25556- var _current$memoizedProp = current.memoizedProps,
25557- id = _current$memoizedProp.id,
25558- onNestedUpdateScheduled =
25559- _current$memoizedProp.onNestedUpdateScheduled;
25560-
25561- if (typeof onNestedUpdateScheduled === "function") {
25562- onNestedUpdateScheduled(id);
25563- }
25564- }
25565-
25566- current = current.return;
25567- }
25568- }
25569- }
25570- }
25571-
2557225541 if (enableTransitionTracing) {
2557325542 var transition = ReactCurrentBatchConfig.transition;
2557425543
@@ -27548,12 +27517,6 @@ if (__DEV__) {
2754827517 // Mark the current commit time to be shared by all Profilers in this
2754927518 // batch. This enables them to be grouped later.
2755027519 recordCommitTime();
27551- }
27552-
27553- if (enableProfilerNestedUpdateScheduledHook) {
27554- // Track the root here, rather than in commitLayoutEffects(), because of ref setters.
27555- // Updates scheduled during ref detachment should also be flagged.
27556- rootCommittingMutationOrLayoutEffects = root;
2755727520 } // The next phase is the mutation phase, where we mutate the host tree.
2755827521
2755927522 commitMutationEffects(root, finishedWork, lanes);
@@ -27585,10 +27548,6 @@ if (__DEV__) {
2758527548
2758627549 if (enableSchedulingProfiler) {
2758727550 markLayoutEffectsStopped();
27588- }
27589-
27590- if (enableProfilerNestedUpdateScheduledHook) {
27591- rootCommittingMutationOrLayoutEffects = null;
2759227551 } // Tell Scheduler to yield at the end of the frame, so the browser has an
2759327552 // opportunity to paint.
2759427553
0 commit comments