Remove synamic modern event system flag for FB (#19059)
* Remove synamic modern event system flag for FB
Dominic Gannaway committed
Jun 11, 2020 at 19:49 UTC
e3ccdf1544478e27ce2970562139d726c5ec992b
3 files changed
+3
-2
packages/shared/forks/ReactFeatureFlags.www-dynamic.js
-1
@@ -17,7 +17,6 @@ export const warnAboutSpreadingKeyToJSX = __VARIANT__;
17
export const enableComponentStackLocations = __VARIANT__;
18
export const disableInputAttributeSyncing = __VARIANT__;
19
export const enableFilterEmptyStringAttributesDOM = __VARIANT__;
20
-export const enableModernEventSystem = __VARIANT__;
20
export const enableLegacyFBSupport = __VARIANT__;
21
export const enableDebugTracing = !__VARIANT__;
22
packages/shared/forks/ReactFeatureFlags.www.js
+2
-1
@@ -21,7 +21,6 @@ export const {
21
disableSchedulerTimeoutBasedOnReactExpirationTime,
22
warnAboutSpreadingKeyToJSX,
23
replayFailedUnitOfWorkWithInvokeGuardedCallback,
24
- enableModernEventSystem,
24
enableFilterEmptyStringAttributesDOM,
25
enableLegacyFBSupport,
26
enableDebugTracing,
@@ -73,6 +72,8 @@ export const disableTextareaChildren = __EXPERIMENTAL__;
72
73
export const warnUnstableRenderSubtreeIntoContainer = false;
74
75
+export const enableModernEventSystem = true;
76
+
77
// Enable forked reconciler. Piggy-backing on the "variant" global so that we
78
// don't have to add another test dimension. The build system will compile this
79
// to the correct value.
scripts/rollup/modules.js
+1
@@ -16,6 +16,7 @@ const importSideEffects = Object.freeze({
16
'react-dom/server': HAS_NO_SIDE_EFFECTS_ON_IMPORT,
17
'react/jsx-dev-runtime': HAS_NO_SIDE_EFFECTS_ON_IMPORT,
18
'react-fetch/node': HAS_NO_SIDE_EFFECTS_ON_IMPORT,
19
+ 'react-dom': HAS_NO_SIDE_EFFECTS_ON_IMPORT,
20
});
21
22
// Bundles exporting globals that other modules rely on.