GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove unnecessary interaction tracing ping wrapper (#16777) · react/react@0c0b30b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/react-reconciler/src
    • ReactFiberThrow.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-reconciler/src/ReactFiberThrow.js‎

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberThrow.js
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import type {Update} from './ReactUpdateQueue';
1515
import type {Thenable} from './ReactFiberWorkLoop';
1616
import type {SuspenseContext} from './ReactFiberSuspenseContext';
1717

18-
import {unstable_wrap as Schedule_tracing_wrap} from 'scheduler/tracing';
1918
import getComponentName from 'shared/getComponentName';
2019
import warningWithoutStack from 'shared/warningWithoutStack';
2120
import {
@@ -31,7 +30,6 @@ import {
3130
ShouldCapture,
3231
LifecycleEffectMask,
3332
} from 'shared/ReactSideEffectTags';
34-
import {enableSchedulerTracing} from 'shared/ReactFeatureFlags';
3533
import {NoMode, BatchedMode} from './ReactTypeOfMode';
3634
import {shouldCaptureSuspense} from './ReactFiberSuspenseComponent';
3735

@@ -173,11 +171,6 @@ function attachPingListener(
173171
thenable,
174172
renderExpirationTime,
175173
);
176-
if (enableSchedulerTracing) {
177-
if (thenable.__reactDoNotTraceInteractions !== true) {
178-
ping = Schedule_tracing_wrap(ping);
179-
}
180-
}
181174
thenable.then(ping, ping);
182175
}
183176
}

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.