mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 06:04:15 +00:00
Warning: bind(): You are binding a component method to the component
Summary: Warning: bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See TouchableOpacity Closes https://github.com/facebook/react-native/pull/10349 Differential Revision: D4008552 Pulled By: javache fbshipit-source-id: d98fe9a0d694dee74ea872e51b02fbd75a133e43
This commit is contained in:
parent
d91a5c4ffb
commit
ddb1e44b43
@ -571,7 +571,7 @@ var TouchableMixin = {
|
||||
return;
|
||||
}
|
||||
|
||||
UIManager.measure(tag, this._handleQueryLayout.bind(this));
|
||||
UIManager.measure(tag, this._handleQueryLayout);
|
||||
},
|
||||
|
||||
_handleQueryLayout: function(l, t, w, h, globalX, globalY) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user