@samitouri / QOS-React / commits / 983a365f74

[RN] Don't hold interaction handles for all touches

We don't want to hold handles while doing native scrolling, etc. FB Task: #10926500

Spencer Ahrens committed Apr 22, 2016 at 16:22 UTC 983a365f743b2d03ad49bfcc33b300bdccf2f770
1 file changed -5
src/renderers/native/ReactNative/ReactNativeDefaultInjection.js
-5
@@ -27,7 +27,6 @@ var ReactComponentEnvironment = require('ReactComponentEnvironment');
27 var ReactDefaultBatchingStrategy = require('ReactDefaultBatchingStrategy');
28 var ReactEmptyComponent = require('ReactEmptyComponent');
29 var ReactNativeComponentEnvironment = require('ReactNativeComponentEnvironment');
30 -var ReactNativeGlobalInteractionHandler = require('ReactNativeGlobalInteractionHandler');
30 var ReactNativeGlobalResponderHandler = require('ReactNativeGlobalResponderHandler');
31 var ReactNativeTextComponent = require('ReactNativeTextComponent');
32 var ReactNativeTreeTraversal = require('ReactNativeTreeTraversal');
@@ -56,10 +55,6 @@ function inject() {
55 ReactNativeGlobalResponderHandler
56 );
57
59 - ResponderEventPlugin.injection.injectGlobalInteractionHandler(
60 - ReactNativeGlobalInteractionHandler
61 - );
62 -
58 /**
59 * Some important event plugins included by default (without having to require
60 * them).