Set renameElementSymbol to dynamic value (#30066)

Prepare to roll this out with dynamic flag

`yarn flags --diff www canary`

<img width="514" alt="Screenshot 2024-06-24 at 11 33 55 AM"
src="https://github.com/facebook/react/assets/8965173/31508fdc-4cb1-4ce0-8e22-c02a034377b0">
This commit is contained in:
Jack Pope
2024-06-24 12:28:39 -04:00
committed by GitHub
parent d3d47114fa
commit 3d990052df
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ describe('ReactDOMOption', () => {
}).rejects.toThrow('Objects are not valid as a React child');
});
// @gate www
// @gate www && !renameElementSymbol
it('should support element-ish child', async () => {
// This is similar to <fbt>.
// We don't toString it because you must instead provide a value prop.
@@ -32,6 +32,7 @@ export const syncLaneExpirationMs = 250;
export const transitionLaneExpirationMs = 5000;
export const enableAddPropertiesFastPath = __VARIANT__;
export const disableLegacyMode = __VARIANT__;
export const renameElementSymbol = __VARIANT__;
// Enable this flag to help with concurrent mode debugging.
// It logs information to the console about React scheduling, rendering, and commit phases.
@@ -35,6 +35,7 @@ export const {
enableNoCloningMemoCache,
enableAddPropertiesFastPath,
enableFastJSX,
renameElementSymbol,
} = dynamicFeatureFlags;
// On WWW, __EXPERIMENTAL__ is used for a new modern build.
@@ -65,8 +66,6 @@ export const enableSchedulingProfiler: boolean =
export const disableLegacyContext = __EXPERIMENTAL__;
export const enableGetInspectorDataForInstanceInProduction = false;
export const renameElementSymbol = false;
export const enableCache = true;
export const enableLegacyCache = true;