Custom hook to trigger a function when a user clicks outside a component
Why do you think that https://github.com/streamich/react-use is a good alternative to useOutsideClick
Custom hook to trigger a function when a user clicks outside a component
Why do you think that https://github.com/streamich/react-use is a good alternative to useOutsideClick