Created
June 29, 2017 07:20
-
-
Save 0x1628/ffb391394cab05989d74768c1d9700eb to your computer and use it in GitHub Desktop.
Add touchTapEvent to React
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ReactInjection = require('react-dom/lib/ReactInjection') | |
const TapEventPlugin = require('react-dom/lib/TapEventPlugin') | |
ReactInjection.EventPluginHub.injectEventPluginsByName({ | |
TapEventPlugin, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment