Skip to content

Commit

Permalink
Cleanup replayFailedUnitOfWorkWithInvokeGuardedCallbackand `enableP…
Browse files Browse the repository at this point in the history
…rofilerNestedUpdateScheduledHook` (#28891)
  • Loading branch information
eps1lon authored Apr 22, 2024
1 parent 9f2eebd commit 699d03c
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,13 @@ function loadModules({
enableProfilerTimer = true,
enableProfilerCommitHooks = true,
enableProfilerNestedUpdatePhase = true,
enableProfilerNestedUpdateScheduledHook = false,
replayFailedUnitOfWorkWithInvokeGuardedCallback = false,
} = {}) {
ReactFeatureFlags = require('shared/ReactFeatureFlags');

ReactFeatureFlags.enableProfilerTimer = enableProfilerTimer;
ReactFeatureFlags.enableProfilerCommitHooks = enableProfilerCommitHooks;
ReactFeatureFlags.enableProfilerNestedUpdatePhase =
enableProfilerNestedUpdatePhase;
ReactFeatureFlags.enableProfilerNestedUpdateScheduledHook =
enableProfilerNestedUpdateScheduledHook;
ReactFeatureFlags.replayFailedUnitOfWorkWithInvokeGuardedCallback =
replayFailedUnitOfWorkWithInvokeGuardedCallback;

React = require('react');
ReactDOMClient = require('react-dom/client');
Expand Down

0 comments on commit 699d03c

Please sign in to comment.