Skip to content

Commit

Permalink
cleanup enableProfilerNestedUpdateScheduledHook feature flag (#28509)
Browse files Browse the repository at this point in the history
## Summary

Looks like this was added years ago for instrumentation at meta that
never ended up rolling out. Should be safe to clean up.

## How did you test this change?
`yarn test`

DiffTrain build for commit 0d1ae5d.
  • Loading branch information
noahlemen committed Mar 11, 2024
1 parent 15a88b6 commit d799324
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<db79d0fa61da74ae92c8d9795516873a>>
* @generated SignedSource<<5567992397ed27615daacd939e3142d0>>
*/

"use strict";
Expand Down Expand Up @@ -21581,7 +21581,7 @@ if (__DEV__) {
}
var hasUncaughtError = false;
var firstUncaughtError = null;
var legacyErrorBoundariesThatAlreadyFailed = null; // Only used when enableProfilerNestedUpdateScheduledHook is true;
var legacyErrorBoundariesThatAlreadyFailed = null;
var rootDoesHavePassiveEffects = false;
var rootWithPendingPassiveEffects = null;
var pendingPassiveEffectsLanes = NoLanes;
Expand Down Expand Up @@ -23594,7 +23594,7 @@ if (__DEV__) {
// Mark the current commit time to be shared by all Profilers in this
// batch. This enables them to be grouped later.
recordCommitTime();
}
} // The next phase is the mutation phase, where we mutate the host tree.

commitMutationEffects(root, finishedWork);
// the mutation phase, so that the previous tree is still current during
Expand Down Expand Up @@ -25677,7 +25677,7 @@ if (__DEV__) {
return root;
}

var ReactVersion = "18.3.0-canary-dfaed5582-20240311";
var ReactVersion = "18.3.0-canary-0d1ae5d75-20240311";

// Might add PROFILE later.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9147,7 +9147,7 @@ var devToolsConfig$jscomp$inline_1016 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-dfaed5582-20240311",
version: "18.3.0-canary-0d1ae5d75-20240311",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1194 = {
Expand Down Expand Up @@ -9178,7 +9178,7 @@ var internals$jscomp$inline_1194 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-dfaed5582-20240311"
reconcilerVersion: "18.3.0-canary-0d1ae5d75-20240311"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1195 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9575,7 +9575,7 @@ var devToolsConfig$jscomp$inline_1058 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-dfaed5582-20240311",
version: "18.3.0-canary-0d1ae5d75-20240311",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1235 = {
Expand Down Expand Up @@ -9606,7 +9606,7 @@ var internals$jscomp$inline_1235 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-dfaed5582-20240311"
reconcilerVersion: "18.3.0-canary-0d1ae5d75-20240311"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1236 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (__DEV__) {
}
var dynamicFlags = require("ReactNativeInternalFeatureFlags");

var ReactVersion = "18.3.0-canary-dfaed5582-20240311";
var ReactVersion = "18.3.0-canary-0d1ae5d75-20240311";

// ATTENTION
// When adding new symbols to this file,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,4 +628,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-dfaed5582-20240311";
exports.version = "18.3.0-canary-0d1ae5d75-20240311";
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-dfaed5582-20240311";
exports.version = "18.3.0-canary-0d1ae5d75-20240311";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dfaed5582550f11b27aae967a8e7084202dd2d90
0d1ae5d753044fae99bc37a7815aa947447de3f8
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9c2330dcbae0932d46415008abf39f83>>
* @generated SignedSource<<2cdd07c219807a7aa7c60e7298609102>>
*/

"use strict";
Expand Down Expand Up @@ -25662,7 +25662,7 @@ to return true:wantsResponderID| |
}
var hasUncaughtError = false;
var firstUncaughtError = null;
var legacyErrorBoundariesThatAlreadyFailed = null; // Only used when enableProfilerNestedUpdateScheduledHook is true;
var legacyErrorBoundariesThatAlreadyFailed = null;
var rootDoesHavePassiveEffects = false;
var rootWithPendingPassiveEffects = null;
var pendingPassiveEffectsLanes = NoLanes;
Expand Down Expand Up @@ -27804,7 +27804,7 @@ to return true:wantsResponderID| |
// Mark the current commit time to be shared by all Profilers in this
// batch. This enables them to be grouped later.
recordCommitTime();
}
} // The next phase is the mutation phase, where we mutate the host tree.

commitMutationEffects(root, finishedWork, lanes);
// the mutation phase, so that the previous tree is still current during
Expand All @@ -27821,7 +27821,7 @@ to return true:wantsResponderID| |

{
markLayoutEffectsStopped();
}
} // Tell Scheduler to yield at the end of the frame, so the browser has an
// opportunity to paint.

requestPaint();
Expand Down Expand Up @@ -30184,7 +30184,7 @@ to return true:wantsResponderID| |
return root;
}

var ReactVersion = "18.3.0-canary-d10dabcc";
var ReactVersion = "18.3.0-canary-625ba3e2";

function createPortal$1(
children,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e3846f3f34dc54e4ddf149e8629d7fd3>>
* @generated SignedSource<<d8ff468ccc27dd6a134e0a8f6e70d25e>>
*/

"use strict";
Expand Down Expand Up @@ -26102,7 +26102,7 @@ to return true:wantsResponderID| |
}
var hasUncaughtError = false;
var firstUncaughtError = null;
var legacyErrorBoundariesThatAlreadyFailed = null; // Only used when enableProfilerNestedUpdateScheduledHook is true;
var legacyErrorBoundariesThatAlreadyFailed = null;
var rootDoesHavePassiveEffects = false;
var rootWithPendingPassiveEffects = null;
var pendingPassiveEffectsLanes = NoLanes;
Expand Down Expand Up @@ -28244,7 +28244,7 @@ to return true:wantsResponderID| |
// Mark the current commit time to be shared by all Profilers in this
// batch. This enables them to be grouped later.
recordCommitTime();
}
} // The next phase is the mutation phase, where we mutate the host tree.

commitMutationEffects(root, finishedWork, lanes);
// the mutation phase, so that the previous tree is still current during
Expand All @@ -28261,7 +28261,7 @@ to return true:wantsResponderID| |

{
markLayoutEffectsStopped();
}
} // Tell Scheduler to yield at the end of the frame, so the browser has an
// opportunity to paint.

requestPaint();
Expand Down Expand Up @@ -30624,7 +30624,7 @@ to return true:wantsResponderID| |
return root;
}

var ReactVersion = "18.3.0-canary-e7e333a2";
var ReactVersion = "18.3.0-canary-691a723b";

function createPortal$1(
children,
Expand Down

0 comments on commit d799324

Please sign in to comment.