use-click-with-preventiona custom react hook to prevent singleClick while doubleClick is firedcustom react hookuse click with preventionprevent single click on double clickcancel single click on double clickuseClickuseDoubleClick0.2.1 • Published 5 years ago