@@ -66,7 +66,7 @@ if (__DEV__) {
66
66
return self;
67
67
}
68
68
69
- var ReactVersion = "18.3.0-www-classic-81c495cd ";
69
+ var ReactVersion = "18.3.0-www-classic-db11990b ";
70
70
71
71
var LegacyRoot = 0;
72
72
var ConcurrentRoot = 1;
@@ -194,8 +194,6 @@ if (__DEV__) {
194
194
var enableProfilerTimer = true;
195
195
var enableProfilerCommitHooks = true;
196
196
var enableProfilerNestedUpdatePhase = true;
197
- var enableProfilerNestedUpdateScheduledHook =
198
- dynamicFeatureFlags.enableProfilerNestedUpdateScheduledHook;
199
197
var enableAsyncActions = true; // Logs additional User Timing API marks for use with an experimental profiling tool.
200
198
201
199
var enableSchedulingProfiler = dynamicFeatureFlags.enableSchedulingProfiler;
@@ -25344,10 +25342,7 @@ if (__DEV__) {
25344
25342
}
25345
25343
var hasUncaughtError = false;
25346
25344
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;
25351
25346
var rootDoesHavePassiveEffects = false;
25352
25347
var rootWithPendingPassiveEffects = null;
25353
25348
var pendingPassiveEffectsLanes = NoLanes;
@@ -25543,32 +25538,6 @@ if (__DEV__) {
25543
25538
25544
25539
warnIfUpdatesNotWrappedWithActDEV(fiber);
25545
25540
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
-
25572
25541
if (enableTransitionTracing) {
25573
25542
var transition = ReactCurrentBatchConfig.transition;
25574
25543
@@ -27548,12 +27517,6 @@ if (__DEV__) {
27548
27517
// Mark the current commit time to be shared by all Profilers in this
27549
27518
// batch. This enables them to be grouped later.
27550
27519
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;
27557
27520
} // The next phase is the mutation phase, where we mutate the host tree.
27558
27521
27559
27522
commitMutationEffects(root, finishedWork, lanes);
@@ -27585,10 +27548,6 @@ if (__DEV__) {
27585
27548
27586
27549
if (enableSchedulingProfiler) {
27587
27550
markLayoutEffectsStopped();
27588
- }
27589
-
27590
- if (enableProfilerNestedUpdateScheduledHook) {
27591
- rootCommittingMutationOrLayoutEffects = null;
27592
27551
} // Tell Scheduler to yield at the end of the frame, so the browser has an
27593
27552
// opportunity to paint.
27594
27553
0 commit comments