Skip to content

Latest commit

 

History

History
31 lines (15 loc) · 918 Bytes

README.md

File metadata and controls

31 lines (15 loc) · 918 Bytes

React-Hooks

React hooks collection.

Hooks Categories

Must Know Hooks: useState, useEffect, useContext

Lesser Used Hooks: useRef, useMemo, useCallback, useReducer, useTransition, useDeferredValue

Optional Hooks: useLayoutEffect, useDebugValue, useImperativeHandle, useId

Custom React Hooks

Custom-Hooks-1: useToggle, useTimeout, useDebounce, useUpdateEffect, useArray

Custom-Hooks-2: usePrevious, useStateWithHistory, useStorage, useAsync, useFetch

Custom-Hooks-3: useScript, useDeepCompareEffect, useEventListener, useOnScreen, useWindowSize

Custom-Hooks-4: useMediaQuery, useGeolocation, useStateWithValidation, useSize, useEffectOnce

Custom-Hooks-5: useClickOutside, useDarkMode, useCopyToClipboard, useCookie, useTranslation

Custom-Hooks-6: useOnlineStatus, useRenderCount, useDebugInformation, useHover, useLongPress

License

This project is licensed under the terms of the MIT license.