Skip to content
View Haithem-BEN's full-sized avatar
🏠
Working from home
🏠
Working from home
Block or Report

Block or report Haithem-BEN

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

Pinned

  1. react-colors react-colors Public

    Forked from Colt/react-colors

    Clone of Flat UI Colors, made for my Modern React Bootcamp Course

    JavaScript

  2. Cloning-hey-pin-menu Cloning-hey-pin-menu Public

    Cloning hey pin menu

    JavaScript

  3. Tamarrus Tamarrus Public

    Practice makes perfect

    HTML

  4. useAsync Hook - To help with async c... useAsync Hook - To help with async calls -- #ReusableCode
    1
    import { useCallback, useEffect, useState } from 'react';
    2
    import useToggle from './useToggle';
    3
    
                  
    4
    function useAsync(asyncFunc, immediate = true) {
    5
      const [status, setStatus] = useState(immediate ? 'pending' : 'idle');
  5. a Hook to check if the component is ... a Hook to check if the component is still mounted or not
    1
    import { useEffect, useCallback, useRef } from 'react';
    2
    
                  
    3
    const useIsMounted = () => {
    4
      const isMounted = useRef(false);
    5
    
                  
  6. useToggle useToggle
    1
    import { useCallback, useState, useReducer } from 'react';
    2
    
                  
    3
    function useToggle(initialState = false) {
    4
      const [state, setState] = useState(initialState);
    5