@samitouri / QOS-React-2 / commits / 379dd741e9

[www] set enableTrustedTypesIntegration to false (#25997)

This isn't configured to a dynamic value on www, so hardcode here to false.

Jan Kassens committed Jan 13, 2023 at 16:02 UTC 379dd741e9aabefb880af1794d3c828984f9e143
2 files changed +1 -2
packages/shared/forks/ReactFeatureFlags.www-dynamic.js
-1
@@ -52,7 +52,6 @@ export const replayFailedUnitOfWorkWithInvokeGuardedCallback = __DEV__;
52 // TODO: These flags are hard-coded to the default values used in open source.
53 // Update the tests so that they pass in either mode, then set these
54 // to __VARIANT__.
55 -export const enableTrustedTypesIntegration = false;
55 export const disableSchedulerTimeoutBasedOnReactExpirationTime = false;
56 export const disableNativeComponentFrames = false;
57 // You probably *don't* want to add more hardcoded ones.
packages/shared/forks/ReactFeatureFlags.www.js
+1 -1
@@ -16,7 +16,6 @@ const dynamicFeatureFlags: DynamicFeatureFlags = require('ReactFeatureFlags');
16
17 export const {
18 disableInputAttributeSyncing,
19 - enableTrustedTypesIntegration,
19 disableSchedulerTimeoutBasedOnReactExpirationTime,
20 warnAboutSpreadingKeyToJSX,
21 replayFailedUnitOfWorkWithInvokeGuardedCallback,
@@ -56,6 +55,7 @@ export const enableUseMemoCacheHook = true;
55 export const enableUseEffectEventHook = true;
56 export const enableHostSingletons = true;
57 export const enableClientRenderFallbackOnTextMismatch = false;
58 +export const enableTrustedTypesIntegration = false;
59
60 // Logs additional User Timing API marks for use with an experimental profiling tool.
61 export const enableSchedulingProfiler: boolean =