mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Group event code together and forbid cross-client/server imports (#11298)
* react-dom/src/syntheticEvents => events, and put plugins into it * Flatten react-dom/src/shared * Split react-dom/src/client/utils into event/ and root client folder Makes it clearer what is used by what. * Strictly separate modules that can be imported by client and server
This commit is contained in:
@@ -19,7 +19,7 @@ const RN_PROD = Bundles.bundleTypes.RN_PROD;
|
||||
const facebookWWW = 'facebook-www';
|
||||
// these files need to be copied to the facebook-www build
|
||||
const facebookWWWSrcDependencies = [
|
||||
'packages/react-dom/src/client/eventPlugins/TapEventPlugin.js',
|
||||
'packages/react-dom/src/client/event/plugins/TapEventPlugin.js',
|
||||
];
|
||||
|
||||
// these files need to be copied to the react-native build
|
||||
|
||||
Reference in New Issue
Block a user