zilverline / react-tap-event-plugin

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

Discussion: React 17+ might remove the internal this depends on #112

Open gaearon opened 6 years ago

gaearon commented 6 years ago

Hi!

Just wanted to leave a note that the internals this plugin depends on will likely be removed in React 17: https://github.com/facebook/react/issues/11689. It would be great to start migrating the ecosystem that has come to depend on this plugin.

Now is a good time to start thinking about alternatives. I would probably suggest creating a <Tapable> component that uses only public API as a replacement. We could maybe do this ourselves, but it's challenging since we don't actively use TapEvenPlugin and can’t evaluate if the replacement is working well.

Would somebody who uses this be interested in working on it?