react-tap-event-plugin-tempdeprecated

Facebook's TapEventPlugin, temporarily available on npm until its made public in their repo

Usage no npm install needed!

<script type="module">
  import reactTapEventPluginTemp from 'https://cdn.skypack.dev/react-tap-event-plugin-temp';
</script>

README

You've probably heard of iOS's dreaded 300ms tap delay. React's onClick attribute falls prey to it. Facebook's working on a solution in the form of TapEventPlugin, but it won't be made available until 1.0.

If you're reading this, you're probably working on a project that can't wait until they figure out how they want to publish it. This repo is for you.

Usage is simple:

var injectTapEventPlugin = require("react-tap-event-plugin");
injectTapEventPlugin();

When Facebook solves #436 and #1170, this repo will disappear.