Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5e1bf0

Browse files
authored
Renamed outdated schedule/tracing referecnes (facebook#14177)
1 parent 2dd4ba1 commit d5e1bf0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-reconciler/src/ReactFiberScheduler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,11 @@ let warnAboutInvalidUpdates;
180180

181181
if (enableSchedulerTracing) {
182182
// Provide explicit error message when production+profiling bundle of e.g. react-dom
183-
// is used with production (non-profiling) bundle of schedule/tracing
183+
// is used with production (non-profiling) bundle of scheduler/tracing
184184
invariant(
185185
__interactionsRef != null && __interactionsRef.current != null,
186186
'It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) ' +
187-
'without also replacing the `schedule/tracing` module with `schedule/tracing-profiling`. ' +
187+
'without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. ' +
188188
'Your bundler might have a setting for aliasing both modules. ' +
189189
'Learn more at http://fb.me/react-profiling',
190190
);

packages/react-reconciler/src/__tests__/ReactTracing-test.internal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
'use strict';
1212

1313
describe('ReactTracing', () => {
14-
it('should error if profiling renderer and non-profiling schedule/tracing bundles are combined', () => {
14+
it('should error if profiling renderer and non-profiling scheduler/tracing bundles are combined', () => {
1515
jest.resetModules();
1616

1717
const ReactFeatureFlags = require('shared/ReactFeatureFlags');

0 commit comments

Comments
 (0)