File tree Expand file tree Collapse file tree 4 files changed +5
-10
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 4 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import {
30
30
findHostInstancesForRefresh as findHostInstancesForRefresh_old ,
31
31
} from './ReactFiberHotReloading.old' ;
32
32
33
- // TODO: Update these to point to the fork.
34
33
import {
35
34
setRefreshHandler as setRefreshHandler_new ,
36
35
resolveFunctionForHotReloading as resolveFunctionForHotReloading_new ,
@@ -41,7 +40,7 @@ import {
41
40
scheduleRefresh as scheduleRefresh_new ,
42
41
scheduleRoot as scheduleRoot_new ,
43
42
findHostInstancesForRefresh as findHostInstancesForRefresh_new ,
44
- } from './ReactFiberHotReloading.old ' ;
43
+ } from './ReactFiberHotReloading.new ' ;
45
44
46
45
export const setRefreshHandler = enableNewReconciler
47
46
? setRefreshHandler_new
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ import {
42
42
createPortal as createPortal_old ,
43
43
} from './ReactFiberReconciler.old' ;
44
44
45
- // TODO: Update these to point to the fork.
46
45
import {
47
46
createContainer as createContainer_new ,
48
47
updateContainer as updateContainer_new ,
@@ -69,7 +68,7 @@ import {
69
68
injectIntoDevTools as injectIntoDevTools_new ,
70
69
act as act_new ,
71
70
createPortal as createPortal_new ,
72
- } from './ReactFiberReconciler.old ' ;
71
+ } from './ReactFiberReconciler.new ' ;
73
72
74
73
export const createContainer = enableNewReconciler
75
74
? createContainer_new
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ const inlinedHostConfigs = require('../shared/inlinedHostConfigs');
5
5
jest . mock ( 'react-reconciler/src/ReactFiberReconciler' , ( ) => {
6
6
return require . requireActual (
7
7
__VARIANT__
8
- ? // TODO: Update this to point to the new module, once it exists
9
- 'react-reconciler/src/ReactFiberReconciler.old'
8
+ ? 'react-reconciler/src/ReactFiberReconciler.new'
10
9
: 'react-reconciler/src/ReactFiberReconciler.old'
11
10
) ;
12
11
} ) ;
Original file line number Diff line number Diff line change @@ -273,8 +273,7 @@ const forks = Object.freeze({
273
273
case FB_WWW_PROD :
274
274
case FB_WWW_PROFILING :
275
275
// Use the forked version of the reconciler
276
- // TODO: Update this to point to the new module, once it exists
277
- return 'react-reconciler/src/ReactFiberReconciler.old.js' ;
276
+ return 'react-reconciler/src/ReactFiberReconciler.new.js' ;
278
277
}
279
278
}
280
279
// Otherwise, use the non-forked version.
@@ -294,8 +293,7 @@ const forks = Object.freeze({
294
293
case FB_WWW_PROD :
295
294
case FB_WWW_PROFILING :
296
295
// Use the forked version of the reconciler
297
- // TODO: Update this to point to the new module, once it exists
298
- return 'react-reconciler/src/ReactFiberHotReloading.old.js' ;
296
+ return 'react-reconciler/src/ReactFiberHotReloading.new.js' ;
299
297
}
300
298
}
301
299
// Otherwise, use the non-forked version.
You can’t perform that action at this time.
0 commit comments