zilverline / react-tap-event-plugin

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

Outdated path since react 15.4.0 #87

Closed dkwingsmt closed 8 years ago

dkwingsmt commented 8 years ago

A few modules that this plugin depends on seems to have been moved to new places in the latest react (≥15.4.0), which triggers the following and alike errors:

Module not found: Error: Cannot resolve module 'react/lib/EventPluginHub' in /path/to/my/propject/node_modules/react-tap-event-plugin/src
Module not found: Error: Cannot resolve module 'react/lib/EventConstants' in /path/to/my/propject/node_modules/react-tap-event-plugin/src
... (and so on)

Btw, is this plugin still necessary? Facebook have closed #436 and #1170, but it seems they rejected them?

s0meone commented 8 years ago

I've just published a new version on npm (2.0.0) which fixes compatibility with React 15.4.

Yes, the plugin is still needed, see #81.

dkwingsmt commented 8 years ago

Thank you. And my apology for not checking closed issues before opening this one.

dano-giftbit commented 8 years ago

I'm not seeing 2.0.0 on npm ?

s0meone commented 8 years ago
$ npm view react-tap-event-plugin@latest version
2.0.0

The webpage on npmjs.org is cached probably. npm install will install the latest version.