npm.io

Event-propagation Packages

react-prevent-clickthrough

Prevents an event from propagating/bubbling through React's Virtual DOM during onClick. Also allows for conveniently passing a behavior while preventing clickthrough for less boilerplate/alternate ways to pass behavior in the callback.

ReactUIClickthroughprevent-clickthroughonclickDOMevent-propagationclickHandlerSynthetic Event
0.0.3 • Published 8 years ago

contact@npm.io