Commit 94e652d 1 parent 4735220 commit 94e652d Copy full SHA for 94e652d
File tree 3 files changed +6
-6
lines changed
react-devtools-shared/src/__tests__
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ import semver from 'semver';
21
21
// TODO: This is how other DevTools tests access the version but we should find
22
22
// a better solution for this
23
23
const ReactVersionTestingAgainst = process . env . REACT_VERSION || ReactVersion ;
24
- const enableSiblingPrerendering = semver . gte (
25
- ReactVersionTestingAgainst ,
26
- '19.0.0' ,
27
- ) ;
24
+ // Disabling this while the flag is off in experimental. Leaving the logic so we can
25
+ // restore the behavior when we turn the flag back on.
26
+ const enableSiblingPrerendering =
27
+ false && semver . gte ( ReactVersionTestingAgainst , '19.0.0' ) ;
28
28
29
29
describe ( 'Timeline profiler' , ( ) => {
30
30
let React ;
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ export const enableOwnerStacks = __EXPERIMENTAL__;
148
148
149
149
export const enableShallowPropDiffing = false ;
150
150
151
- export const enableSiblingPrerendering = __EXPERIMENTAL__ ;
151
+ export const enableSiblingPrerendering = false ;
152
152
153
153
/**
154
154
* Enables an expiration time for retry lanes to avoid starvation.
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export const enableAddPropertiesFastPath = false;
80
80
81
81
export const renameElementSymbol = true ;
82
82
export const enableShallowPropDiffing = false ;
83
- export const enableSiblingPrerendering = __EXPERIMENTAL__ ;
83
+ export const enableSiblingPrerendering = false ;
84
84
85
85
// TODO: This must be in sync with the main ReactFeatureFlags file because
86
86
// the Test Renderer's value must be the same as the one used by the
You can’t perform that action at this time.
0 commit comments