Skip to content

Commit b50c022

Browse files
committed
fix: stop using ReactNativeBridgeEventPlugin
Copied from: facebook/react-native@906dde0
1 parent 052ec8d commit b50c022

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Libraries/ReactNative/requireNativeComponent.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
'use strict';
1414

1515
const Platform = require('Platform');
16-
const ReactNativeBridgeEventPlugin = require('ReactNativeBridgeEventPlugin');
1716
const ReactNativeStyleAttributes = require('ReactNativeStyleAttributes');
1817
const UIManager = require('UIManager');
1918

@@ -185,11 +184,6 @@ function requireNativeComponent(
185184
hasAttachedDefaultEventTypes = true;
186185
}
187186

188-
// Register this view's event types with the ReactNative renderer.
189-
// This enables view managers to be initialized lazily, improving perf,
190-
// While also enabling 3rd party components to define custom event types.
191-
ReactNativeBridgeEventPlugin.processEventTypes(viewConfig);
192-
193187
return viewConfig;
194188
}
195189

0 commit comments

Comments
 (0)