File tree 2 files changed +3
-3
lines changed
packages/react-reconciler/src 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,11 +180,11 @@ let warnAboutInvalidUpdates;
180
180
181
181
if ( enableSchedulerTracing ) {
182
182
// 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
184
184
invariant (
185
185
__interactionsRef != null && __interactionsRef . current != null ,
186
186
'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`. ' +
188
188
'Your bundler might have a setting for aliasing both modules. ' +
189
189
'Learn more at http://fb.me/react-profiling' ,
190
190
) ;
Original file line number Diff line number Diff line change 11
11
'use strict' ;
12
12
13
13
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' , ( ) => {
15
15
jest . resetModules ( ) ;
16
16
17
17
const ReactFeatureFlags = require ( 'shared/ReactFeatureFlags' ) ;
You can’t perform that action at this time.
0 commit comments