File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
react-devtools-shared/src/__tests__ Expand file tree Collapse file tree 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';
2121// TODO: This is how other DevTools tests access the version but we should find
2222// a better solution for this
2323const 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' ) ;
2828
2929describe ( 'Timeline profiler' , ( ) => {
3030 let React ;
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ export const enableOwnerStacks = __EXPERIMENTAL__;
148148
149149export const enableShallowPropDiffing = false ;
150150
151- export const enableSiblingPrerendering = __EXPERIMENTAL__ ;
151+ export const enableSiblingPrerendering = false ;
152152
153153/**
154154 * 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;
8080
8181export const renameElementSymbol = true ;
8282export const enableShallowPropDiffing = false ;
83- export const enableSiblingPrerendering = __EXPERIMENTAL__ ;
83+ export const enableSiblingPrerendering = false ;
8484
8585// TODO: This must be in sync with the main ReactFeatureFlags file because
8686// 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