Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

busyxiang/react-hook-collection

Repository files navigation

DEPRECATED

This repo migrated to https://github.com/busyxiang/react

react-hook-collection

Collection of custom react hooks

NPM NPM Publish JavaScript Style Guide

Install

npm install --save @busyxiang/react-hook-collection
yarn add @busyxiang/react-hook-collection

List

  • useMounted
  • useLocalStorage
  • useInjectScript
  • useGoogleDrivePicker
  • useGeolocation
  • useNetworkStatus
  • useFetch
  • useClipboard
  • useWindowSize
  • useToggle
  • useClosure
  • useValue
  • useInterval
  • useIntersectionObserver
  • useTimeout
  • useAudio
  • useLazyFetch
  • useStateHistory

License

MIT © Ray Foo