1.0.9 • Published 2 years ago

react-typesafe-hooks v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

React Typesafe Hooks

This library is focused at typesafe utility hooks. We may not have a vast majority of hooks as compared to libraries like react-use but all of our hooks are built with typesafety in mind and are aimed majorly for typescript developers. The package can be installed via npm by executing:

npm i react-typesafe-hooks

Builds

I see that the .map files are not useful in production builds so if you wanted to compress the folder, we would suggest adding the following commands to your production script in npm. windows

npm explore react-typesafe-hooks -- npm run windows-build

mac

npm explore react-typesafe-hooks -- npm run mac-build

linux

npm explore react-typesafe-hooks -- npm run linux-build

Hooks

  • useArray
  • useAsync
  • useAudio
  • useBattery
  • useClickOutside
  • useCookie
  • useCopyToClipboard
  • useDarkMode
  • useDebounce
  • useDebugInformation
  • useDeepCompareEffect
  • useEventListener
  • useFetch
  • useGeolocation
  • useHover
  • useLongPress
  • useMediaQuery
  • useMergeState
  • useOnlineStatus
  • useOnScreen
  • usePermission
  • usePrevious
  • useRenderCount
  • useScroll
  • useSearchFilter
  • useSize
  • useStartTyping
  • useStateWithHistory
  • useStateWithValidation
  • useStorage
  • useTimeout
  • useToggle
  • useUpdateEffect
  • useVibrate
  • useVideo
  • useWindowSize
1.0.9

2 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago