Custom React Hook For Tracking Clicks Outside of the Component

Custom React Hook For Tracking Clicks Outside of the Component

react-cool-onclickoutside is a React hook to trigger callback when user clicks outside of the target component(s) area. It’s a useful logic for UI interaction design (IxD) like dismiss a dropdown menu, modal or tooltip etc. Help you guys :heart: it.

:zap: Live demo: https://react-cool-onclickoutside.netlify.com