File tree Expand file tree Collapse file tree
packages/react-reconciler/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import {
3030 findHostInstancesForRefresh as findHostInstancesForRefresh_old ,
3131} from './ReactFiberHotReloading.old' ;
3232
33- // TODO: Update these to point to the fork.
3433import {
3534 setRefreshHandler as setRefreshHandler_new ,
3635 resolveFunctionForHotReloading as resolveFunctionForHotReloading_new ,
@@ -41,7 +40,7 @@ import {
4140 scheduleRefresh as scheduleRefresh_new ,
4241 scheduleRoot as scheduleRoot_new ,
4342 findHostInstancesForRefresh as findHostInstancesForRefresh_new ,
44- } from './ReactFiberHotReloading.old ' ;
43+ } from './ReactFiberHotReloading.new ' ;
4544
4645export const setRefreshHandler = enableNewReconciler
4746 ? setRefreshHandler_new
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ import {
4242 createPortal as createPortal_old ,
4343} from './ReactFiberReconciler.old' ;
4444
45- // TODO: Update these to point to the fork.
4645import {
4746 createContainer as createContainer_new ,
4847 updateContainer as updateContainer_new ,
@@ -69,7 +68,7 @@ import {
6968 injectIntoDevTools as injectIntoDevTools_new ,
7069 act as act_new ,
7170 createPortal as createPortal_new ,
72- } from './ReactFiberReconciler.old ' ;
71+ } from './ReactFiberReconciler.new ' ;
7372
7473export const createContainer = enableNewReconciler
7574 ? createContainer_new
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ const inlinedHostConfigs = require('../shared/inlinedHostConfigs');
55jest . mock ( 'react-reconciler/src/ReactFiberReconciler' , ( ) => {
66 return require . requireActual (
77 __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'
109 : 'react-reconciler/src/ReactFiberReconciler.old'
1110 ) ;
1211} ) ;
Original file line number Diff line number Diff line change @@ -273,8 +273,7 @@ const forks = Object.freeze({
273273 case FB_WWW_PROD :
274274 case FB_WWW_PROFILING :
275275 // 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' ;
278277 }
279278 }
280279 // Otherwise, use the non-forked version.
@@ -294,8 +293,7 @@ const forks = Object.freeze({
294293 case FB_WWW_PROD :
295294 case FB_WWW_PROFILING :
296295 // 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' ;
299297 }
300298 }
301299 // Otherwise, use the non-forked version.
You can’t perform that action at this time.
0 commit comments