zilverline / react-tap-event-plugin

Instant TapEvents for React
http://facebook.github.io/react/
MIT License
1.07k stars 110 forks source link

require('react-tap-event-plugin') returns undefined #97

Open jtiscione opened 7 years ago

jtiscione commented 7 years ago

require('react-tap-event-plugin') returns undefined. I also tried the ES6 import:

import injectTapEventPlugin from 'react-tap-event-plugin';

which also sets injectTapEventPlugin to undefined. (This is version 2.0.1.)

Update- this seems to only happen with HMR; on subsequent passes it does pick it up.