Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including react-tap-event-plugin-temp with all npm packages installed. Try it out:

require("react/package.json"); // react is a peer dependency. var reactTapEventPluginTemp = require("react-tap-event-plugin-temp")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

react-tap-event-plugin-temp v0.1.2

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

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.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free