A set of useful hooks from WebDevSimplified on YouTube incl. useClickOutside, useDarkMode, useCopyToClipboard, useCookie & useTranslation. I think my favourite is the useClickOutside hook. I can imagine having one each for other DOM events like useOnScreen, useIsHovered etc.

Go to top