How to detect a click outside of a React component by creating a custom hook for it ...| www.robinwieruch.de