event name/key
callback function to handle the event
Optional options: boolean | AddEventListenerOptionsevent handler options
Optional element: RefObject<T>element to which the handler is applied
useEventListener("click", () => {
console.log("clicked");
});
Binds an event listener to the document or specified element