Skip to content
View Hat52's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report Hat52

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Hat52/README.md

Pinned Loading

  1. get-motivated get-motivated Public

    Motivation quotes from different peoples of different age of time.

    JavaScript

  2. password-protected-file-sharing password-protected-file-sharing Public

    This repository contains the code for how to create a simple file sharing site that also includes password protected files and a download count tracker. This project uses Express and MongoDB.

    JavaScript

  3. Imtihan Imtihan Public

    TypeScript 2

  4. React Hook for Detecting Clicks Outs... React Hook for Detecting Clicks Outside a Component: This is a simple and efficient way to detect clicks outside a React component. By using the MutableRefObject and useEffect hooks from React, you can easily listen to mousedown events on the document and trigger a callback function when a click outside of a component is detected. This is useful for creating dropdown menus, modals, and other UI components that need to close when a user clicks outside of them. The code is easy to understand and can be easily integrated into your React projects.
    1
    import { MutableRefObject, useEffect,useState } from 'react';
    2
    
                  
    3
    // Define the type for the hook, which takes two arguments: a reference to a component and a callback function
    4
    
                  
    5
    type OutsideNotifierHook = (