Skip to content

Commit e3ccdf1

Browse files
authored
Remove synamic modern event system flag for FB (facebook#19059)
* Remove synamic modern event system flag for FB
1 parent 4c7036e commit e3ccdf1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/shared/forks/ReactFeatureFlags.www-dynamic.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export const warnAboutSpreadingKeyToJSX = __VARIANT__;
1717
export const enableComponentStackLocations = __VARIANT__;
1818
export const disableInputAttributeSyncing = __VARIANT__;
1919
export const enableFilterEmptyStringAttributesDOM = __VARIANT__;
20-
export const enableModernEventSystem = __VARIANT__;
2120
export const enableLegacyFBSupport = __VARIANT__;
2221
export const enableDebugTracing = !__VARIANT__;
2322

packages/shared/forks/ReactFeatureFlags.www.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export const {
2121
disableSchedulerTimeoutBasedOnReactExpirationTime,
2222
warnAboutSpreadingKeyToJSX,
2323
replayFailedUnitOfWorkWithInvokeGuardedCallback,
24-
enableModernEventSystem,
2524
enableFilterEmptyStringAttributesDOM,
2625
enableLegacyFBSupport,
2726
enableDebugTracing,
@@ -73,6 +72,8 @@ export const disableTextareaChildren = __EXPERIMENTAL__;
7372

7473
export const warnUnstableRenderSubtreeIntoContainer = false;
7574

75+
export const enableModernEventSystem = true;
76+
7677
// Enable forked reconciler. Piggy-backing on the "variant" global so that we
7778
// don't have to add another test dimension. The build system will compile this
7879
// to the correct value.

scripts/rollup/modules.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const importSideEffects = Object.freeze({
1616
'react-dom/server': HAS_NO_SIDE_EFFECTS_ON_IMPORT,
1717
'react/jsx-dev-runtime': HAS_NO_SIDE_EFFECTS_ON_IMPORT,
1818
'react-fetch/node': HAS_NO_SIDE_EFFECTS_ON_IMPORT,
19+
'react-dom': HAS_NO_SIDE_EFFECTS_ON_IMPORT,
1920
});
2021

2122
// Bundles exporting globals that other modules rely on.

0 commit comments

Comments
 (0)