Skip to content

Commit

Permalink
Renamed outdated schedule/tracing referecnes (facebook#14177)
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn authored Nov 9, 2018
1 parent 2dd4ba1 commit d5e1bf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/react-reconciler/src/ReactFiberScheduler.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ let warnAboutInvalidUpdates;

if (enableSchedulerTracing) {
// Provide explicit error message when production+profiling bundle of e.g. react-dom
// is used with production (non-profiling) bundle of schedule/tracing
// is used with production (non-profiling) bundle of scheduler/tracing
invariant(
__interactionsRef != null && __interactionsRef.current != null,
'It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) ' +
'without also replacing the `schedule/tracing` module with `schedule/tracing-profiling`. ' +
'without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. ' +
'Your bundler might have a setting for aliasing both modules. ' +
'Learn more at http://fb.me/react-profiling',
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

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

const ReactFeatureFlags = require('shared/ReactFeatureFlags');
Expand Down

0 comments on commit d5e1bf0

Please sign in to comment.