Skip to content

Commit 6f24ce6

Browse files
committed
Revert "Verify test suite is compatible with and without flag"
This reverts commit ea096e429a086c57b070e93fe417b89b944a4763.
1 parent d8b8eaf commit 6f24ce6

9 files changed

+9
-9
lines changed

packages/shared/ReactFeatureFlags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export const warnAboutDefaultPropsOnFunctionComponents = false; // deprecate lat
219219
// a deprecated pattern we want to get rid of in the future
220220
export const warnAboutSpreadingKeyToJSX = false;
221221

222-
export const warnAboutStringRefs = false;
222+
export const warnAboutStringRefs = true;
223223

224224
// -----------------------------------------------------------------------------
225225
// Debugging and DevTools

packages/shared/forks/ReactFeatureFlags.native-fb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const enableScopeAPI = false;
4242
export const enableCreateEventHandleAPI = false;
4343
export const enableSuspenseCallback = false;
4444
export const warnAboutDefaultPropsOnFunctionComponents = false;
45-
export const warnAboutStringRefs = false;
45+
export const warnAboutStringRefs = true;
4646
export const disableLegacyContext = false;
4747
export const disableSchedulerTimeoutBasedOnReactExpirationTime = false;
4848
export const enableTrustedTypesIntegration = false;

packages/shared/forks/ReactFeatureFlags.native-oss.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const enableScopeAPI = false;
3232
export const enableCreateEventHandleAPI = false;
3333
export const enableSuspenseCallback = false;
3434
export const warnAboutDefaultPropsOnFunctionComponents = false;
35-
export const warnAboutStringRefs = false;
35+
export const warnAboutStringRefs = true;
3636
export const disableLegacyContext = false;
3737
export const disableSchedulerTimeoutBasedOnReactExpirationTime = false;
3838
export const enableTrustedTypesIntegration = false;

packages/shared/forks/ReactFeatureFlags.test-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const enableScopeAPI = false;
3232
export const enableCreateEventHandleAPI = false;
3333
export const enableSuspenseCallback = false;
3434
export const warnAboutDefaultPropsOnFunctionComponents = false;
35-
export const warnAboutStringRefs = false;
35+
export const warnAboutStringRefs = true;
3636
export const disableLegacyContext = false;
3737
export const disableSchedulerTimeoutBasedOnReactExpirationTime = false;
3838
export const enableTrustedTypesIntegration = false;

packages/shared/forks/ReactFeatureFlags.test-renderer.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const enableScopeAPI = false;
3232
export const enableCreateEventHandleAPI = false;
3333
export const enableSuspenseCallback = false;
3434
export const warnAboutDefaultPropsOnFunctionComponents = false;
35-
export const warnAboutStringRefs = false;
35+
export const warnAboutStringRefs = true;
3636
export const disableLegacyContext = false;
3737
export const disableSchedulerTimeoutBasedOnReactExpirationTime = false;
3838
export const enableTrustedTypesIntegration = false;

packages/shared/forks/ReactFeatureFlags.test-renderer.www.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const enableScopeAPI = true;
3232
export const enableCreateEventHandleAPI = false;
3333
export const enableSuspenseCallback = true;
3434
export const warnAboutDefaultPropsOnFunctionComponents = false;
35-
export const warnAboutStringRefs = false;
35+
export const warnAboutStringRefs = true;
3636
export const disableLegacyContext = false;
3737
export const disableSchedulerTimeoutBasedOnReactExpirationTime = false;
3838
export const enableTrustedTypesIntegration = false;

packages/shared/forks/ReactFeatureFlags.testing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const enableScopeAPI = false;
3232
export const enableCreateEventHandleAPI = false;
3333
export const enableSuspenseCallback = false;
3434
export const warnAboutDefaultPropsOnFunctionComponents = false;
35-
export const warnAboutStringRefs = false;
35+
export const warnAboutStringRefs = true;
3636
export const disableLegacyContext = false;
3737
export const disableSchedulerTimeoutBasedOnReactExpirationTime = false;
3838
export const enableTrustedTypesIntegration = false;

packages/shared/forks/ReactFeatureFlags.testing.www.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const enableScopeAPI = true;
3232
export const enableCreateEventHandleAPI = true;
3333
export const enableSuspenseCallback = true;
3434
export const warnAboutDefaultPropsOnFunctionComponents = false;
35-
export const warnAboutStringRefs = false;
35+
export const warnAboutStringRefs = true;
3636
export const disableLegacyContext = __EXPERIMENTAL__;
3737
export const disableSchedulerTimeoutBasedOnReactExpirationTime = false;
3838
export const enableTrustedTypesIntegration = false;

packages/shared/forks/ReactFeatureFlags.www.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const enableSchedulingProfiler: boolean =
6666
export const enableSchedulerDebugging = true;
6767
export const warnAboutDeprecatedLifecycles = true;
6868
export const disableLegacyContext = __EXPERIMENTAL__;
69-
export const warnAboutStringRefs = false;
69+
export const warnAboutStringRefs = true;
7070
export const warnAboutDefaultPropsOnFunctionComponents = false;
7171
export const enableGetInspectorDataForInstanceInProduction = false;
7272

0 commit comments

Comments
 (0)